fix https://www.logilab.net/cwo/ticket/481727
the pb lies more in sqlite library, since it's fixed by opening the
sqlite database using an absolute path.
--- 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):