diff i18n/posplit @ 29153:90d84e1e427a

py3: make i18n/posplit use print_function
author Pulkit Goyal <7895pulkit@gmail.com>
date Fri, 13 May 2016 03:09:30 +0530
parents c5057b7780dc
children d0e8933d6dad
line wrap: on
line diff
--- 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