misc/migration/3.4.0_common.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 07 Sep 2010 23:34:16 +0200
branchstable
changeset 6190 564a6028067c
parent 2489 37a747ad6fd4
child 8798 cdab3aadc679
permissions -rw-r--r--
[migration] more rename_entity_type fix * ensure repository caches and system tables are properly cleanup * delete relations from/to entities deleted through sql So we don't ends up with a corrupted db...

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