misc/migration/3.4.0_common.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 08 Mar 2011 17:55:15 +0100
branchstable
changeset 7054 c8f12ab250b7
parent 2489 37a747ad6fd4
child 8798 cdab3aadc679
permissions -rw-r--r--
Add a "closed" property on session This will simplify check and allow nicer error thatn the current "no _tx_data" attribute error.

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