diff -r fdaa0e4b7eaf -r 7c23b7de2b8d dataimport/csv.py --- a/dataimport/csv.py Fri Sep 11 14:28:06 2015 +0200 +++ b/dataimport/csv.py Fri Sep 11 14:52:09 2015 +0200 @@ -16,8 +16,7 @@ # You should have received a copy of the GNU Lesser General Public License along # with CubicWeb. If not, see . """Functions to help importing CSV data""" - -from __future__ import absolute_import +from __future__ import absolute_import, print_function import csv as csvmod import warnings @@ -64,7 +63,7 @@ yield urow if withpb: pb.update() - print ' %s rows imported' % rowcount + print(' %s rows imported' % rowcount) def ucsvreader(stream, encoding='utf-8', delimiter=',', quotechar='"',