--- 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