misc/migration/3.9.5_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Thu, 11 Apr 2013 10:32:00 +0200
branchstable
changeset 8886 bff36e86f74a
parent 6105 a648c832da1f
permissions -rw-r--r--
[devtools] prevent Xvfb resets Seems like firefox opens more than one connection to the X server in some cases, and things get utterly confused.

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