devtools/fill.py
changeset 10589 7c23b7de2b8d
parent 9837 64c8ee99baf7
child 10609 e2d8e81bfe68
--- a/devtools/fill.py	Fri Sep 11 14:28:06 2015 +0200
+++ b/devtools/fill.py	Fri Sep 11 14:52:09 2015 +0200
@@ -17,6 +17,7 @@
 # You should have received a copy of the GNU Lesser General Public License along
 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
 """This modules defines func / methods for creating test repositories"""
+from __future__ import print_function
 
 __docformat__ = "restructuredtext en"
 
@@ -363,7 +364,7 @@
             rql += ', %s is %s' % (selectvar, objtype)
         rset = cnx.execute(rql)
     except Exception:
-        print "could restrict eid_list with given constraints (%r)" % constraints
+        print("could restrict eid_list with given constraints (%r)" % constraints)
         return []
     return set(eid for eid, in rset.rows)