diff -r fdaa0e4b7eaf -r 7c23b7de2b8d server/sqlutils.py --- a/server/sqlutils.py Fri Sep 11 14:28:06 2015 +0200 +++ b/server/sqlutils.py Fri Sep 11 14:52:09 2015 +0200 @@ -16,6 +16,7 @@ # You should have received a copy of the GNU Lesser General Public License along # with CubicWeb. If not, see . """SQL utilities functions and classes.""" +from __future__ import print_function __docformat__ = "restructuredtext en" @@ -43,7 +44,7 @@ SQL_PREFIX = 'cw_' def _run_command(cmd): - print ' '.join(cmd) + print(' '.join(cmd)) return subprocess.call(cmd) @@ -94,7 +95,7 @@ if cnx: cnx.commit() if withpb: - print + print() if sqlstmts_as_string: failed = delimiter.join(failed) return failed