misc/migration/3.14.0_Any.py
changeset 10589 7c23b7de2b8d
parent 8483 4ba11607d84a
--- a/misc/migration/3.14.0_Any.py	Fri Sep 11 14:28:06 2015 +0200
+++ b/misc/migration/3.14.0_Any.py	Fri Sep 11 14:52:09 2015 +0200
@@ -1,3 +1,5 @@
+from __future__ import print_function
+
 config['rql-cache-size'] = config['rql-cache-size'] * 10
 
 add_entity_type('CWDataImport')
@@ -10,4 +12,4 @@
     mainvars = guess_rrqlexpr_mainvars(expression)
     yamscstr = CONSTRAINTS[rqlcstr.type](expression, mainvars)
     rqlcstr.cw_set(value=yamscstr.serialize())
-    print 'updated', rqlcstr.type, rqlcstr.value.strip()
+    print('updated', rqlcstr.type, rqlcstr.value.strip())