# HG changeset patch # User Sylvain Thénault # Date 1264685405 -3600 # Node ID 1736f29ae4e4608a6e07f817b72d7ff892fffd26 # Parent 53f5d52085b44428ea97d2ebd23159f6a35f5d95 remove misnamed argument diff -r 53f5d52085b4 -r 1736f29ae4e4 devtools/__init__.py --- 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: