# HG changeset patch # User Sylvain Thénault # Date 1320916357 -3600 # Node ID 0f1126b9038e52d167bea6e3f437b18ca642caab # Parent b4e1ef549bfa6f8e8e5a3ae958bb8aa26befe0a0 [3.14 migration] strip constraint value to avoid extra new lines diff -r b4e1ef549bfa -r 0f1126b9038e misc/migration/3.14.0_Any.py --- a/misc/migration/3.14.0_Any.py Wed Nov 09 19:19:24 2011 +0100 +++ b/misc/migration/3.14.0_Any.py Thu Nov 10 10:12:37 2011 +0100 @@ -10,4 +10,4 @@ mainvars = guess_rrqlexpr_mainvars(expression) yamscstr = CONSTRAINTS[rqlcstr.type](expression, mainvars) rqlcstr.set_attributes(value=yamscstr.serialize()) - print 'updated', rqlcstr.type, rqlcstr.value + print 'updated', rqlcstr.type, rqlcstr.value.strip()