--- a/devtools/__init__.py Thu Jan 28 14:29:52 2010 +0100
+++ b/devtools/__init__.py Thu Jan 28 14:30:05 2010 +0100
@@ -321,13 +321,13 @@
from cubicweb.server import init_repository
init_repository(config, interactive=False, drop=True, vreg=vreg)
-def cleanup_sqlite(dbfile, removecube=False):
+def cleanup_sqlite(dbfile, removetemplate=False):
try:
os.remove(dbfile)
os.remove('%s-journal' % dbfile)
except OSError:
pass
- if removecube:
+ if removetemplate:
try:
os.remove('%s-template' % dbfile)
except OSError: