devtools/__init__.py
branchstable
changeset 3901 d197c07dcfe5
parent 3153 93ce84956679
child 3998 94cc7cad3d2d
child 4212 ab6573088b4a
--- a/devtools/__init__.py	Mon Nov 23 16:16:58 2009 +0100
+++ b/devtools/__init__.py	Mon Nov 23 16:18:13 2009 +0100
@@ -338,6 +338,7 @@
     import shutil
     # remove database file if it exists (actually I know driver == 'sqlite' :)
     dbfile = source['system']['db-name']
+    source['system']['db-name'] = os.path.abspath(dbfile)
     cleanup_sqlite(dbfile)
     template = '%s-template' % dbfile
     if exists(template):