cwconfig.py
changeset 10589 7c23b7de2b8d
parent 10568 3914388b2d0f
child 10591 8e46ed1a0b8a
--- a/cwconfig.py	Fri Sep 11 14:28:06 2015 +0200
+++ b/cwconfig.py	Fri Sep 11 14:52:09 2015 +0200
@@ -164,6 +164,7 @@
 
    Directory where pid files will be written
 """
+from __future__ import print_function
 
 __docformat__ = "restructuredtext en"
 _ = unicode
@@ -1188,8 +1189,8 @@
 
     def set_sources_mode(self, sources):
         if not 'all' in sources:
-            print 'warning: ignoring specified sources, requires a repository '\
-                  'configuration'
+            print('warning: ignoring specified sources, requires a repository '
+                  'configuration')
 
     def i18ncompile(self, langs=None):
         from cubicweb import i18n