misc/migration/3.4.0_common.py
author Alexandre Fayolle <alexandre.fayolle@logilab.fr>
Thu, 24 Jun 2010 12:10:01 +0200
branchstable
changeset 5831 561014b6d70a
parent 2489 37a747ad6fd4
child 8798 cdab3aadc679
permissions -rw-r--r--
Had thought this could be done in cube, but it really needs to be done earlier in the migration process

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