misc/migration/3.14.0_Any.py
changeset 8079 0f1126b9038e
parent 8027 9ac82788f67b
child 8483 4ba11607d84a
equal deleted inserted replaced
8078:b4e1ef549bfa 8079:0f1126b9038e
     8                    'NOT X value ~= ";%"').entities():
     8                    'NOT X value ~= ";%"').entities():
     9     expression = rqlcstr.value
     9     expression = rqlcstr.value
    10     mainvars = guess_rrqlexpr_mainvars(expression)
    10     mainvars = guess_rrqlexpr_mainvars(expression)
    11     yamscstr = CONSTRAINTS[rqlcstr.type](expression, mainvars)
    11     yamscstr = CONSTRAINTS[rqlcstr.type](expression, mainvars)
    12     rqlcstr.set_attributes(value=yamscstr.serialize())
    12     rqlcstr.set_attributes(value=yamscstr.serialize())
    13     print 'updated', rqlcstr.type, rqlcstr.value
    13     print 'updated', rqlcstr.type, rqlcstr.value.strip()