py3: make i18n/posplit use print_function
authorPulkit Goyal <7895pulkit@gmail.com>
Fri, 13 May 2016 03:09:30 +0530
changeset 29153 90d84e1e427a
parent 29152 c5057b7780dc
child 29158 7c0297bfe8bf
py3: make i18n/posplit use print_function
i18n/posplit
--- a/i18n/posplit	Fri May 13 03:08:46 2016 +0530
+++ b/i18n/posplit	Fri May 13 03:09:30 2016 +0530
@@ -5,7 +5,7 @@
 # license: MIT/X11/Expat
 #
 
-from __future__ import absolute_import
+from __future__ import absolute_import, print_function
 
 import polib
 import re
@@ -69,8 +69,8 @@
                             continue
                         else:
                             # lines following directly, unexpected
-                            print 'Warning: text follows line with directive' \
-                                  ' %s' % directive
+                            print('Warning: text follows line with directive' \
+                                  ' %s' % directive)
                     comment = 'do not translate: .. %s::' % directive
                     if not newentry.comment:
                         newentry.comment = comment