Mercurial Hosting > traffic-intelligence
diff python/storage.py @ 584:5bda87ac0a69
renames removeFromSqlite to deleteFromSqlite
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Thu, 04 Dec 2014 16:57:29 -0500 |
parents | 36605d843be5 |
children | aab2242ea88c |
line wrap: on
line diff
--- a/python/storage.py Mon Sep 22 16:21:53 2014 -0400 +++ b/python/storage.py Thu Dec 04 16:57:29 2014 -0500 @@ -358,8 +358,8 @@ connection.close() return objects -def removeFromSqlite(filename, dataType): - 'Removes some tables in the filename depending on type of data' +def deleteFromSqlite(filename, dataType): + 'Deletes (drops) some tables in the filename depending on type of data' import os if os.path.isfile(filename): connection = sqlite3.connect(filename)