misc/migration/3.4.0_common.py
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Fri, 15 Oct 2010 17:00:09 +0200
branchstable
changeset 6514 f328ec853e18
parent 2489 37a747ad6fd4
child 8798 cdab3aadc679
permissions -rw-r--r--
[devtools] Firefox need write access to $HOME Check that you have write acces to the user home before launching Firefox. Firefox need to write stuff in the home directory of the user and will silency crash when unable to do it. We add an assertion with an explicite message to improve crash report in such situation.

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