misc/migration/3.4.0_common.py
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Tue, 01 Jun 2010 17:29:49 +0200
branchstable
changeset 5651 95f7285e85e2
parent 2489 37a747ad6fd4
child 8798 cdab3aadc679
permissions -rw-r--r--
[vreg] ensure you can register an object from module not known yet. This ease registration of arbitrary objects during testing.

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'))