misc/migration/3.9.5_Any.py
author Aurelien Campeas <aurelien.campeas@logilab.fr>
Tue, 10 Jul 2012 15:32:40 +0200
branchstable
changeset 8468 f52bb4226020
parent 6105 a648c832da1f
permissions -rw-r--r--
[ldapuser2ldapfeed] fix confusing script structure and decode the extid to avoid an UnicodeDecodeError (closes #2413437)

if not rql('CWConstraintType X WHERE X name "RQLUniqueConstraint"',
           ask_confirm=False):
    rql('INSERT CWConstraintType X: X name "RQLUniqueConstraint"',
        ask_confirm=False)