misc/migration/3.4.0_common.py
author Julien Cristau <julien.cristau@logilab.fr>
Mon, 10 Sep 2012 15:08:55 +0200
branchstable
changeset 8550 63260486de89
parent 2489 37a747ad6fd4
child 8798 cdab3aadc679
permissions -rw-r--r--
[server/utils] catch ValueError from password verification passlib can raise ValueError when it can't recognized a hash. Treat that as a wrong password.

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