misc/migration/3.4.0_common.py
author Alexandre Fayolle <alexandre.fayolle@logilab.fr>
Tue, 22 Dec 2009 09:33:08 +0100
branchstable
changeset 4176 42247d70105b
parent 2489 37a747ad6fd4
child 8798 cdab3aadc679
permissions -rw-r--r--
SQL Server port: convert Password to Binary This conversion is required because pyodbc uses buffers for Binary fields and won't be able to cast a string/unicode value to the db VARBINARY column type otherwise.

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