misc/migration/3.4.0_common.py
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Tue, 06 Sep 2011 15:29:05 +0200
branchstable
changeset 7765 6f6253e44bdd
parent 2489 37a747ad6fd4
child 8798 cdab3aadc679
permissions -rw-r--r--
devtools: Fix cleanup of temporary database (closes #1908656) The stored database path for clean up was not absolute. We now make the ``db-name`` absolute at database manade initialization. before storing the name for cleanup.

from os.path import join
from cubicweb.toolsutils import create_dir

option_renamed('pyro-application-id', 'pyro-instance-id')

create_dir(join(config.appdatahome, 'backup'))