##// END OF EJS Templates
py3: make i18n/posplit use print_function
Pulkit Goyal -
r29153:90d84e1e default
parent child Browse files
Show More
@@ -5,7 +5,7 b''
5 # license: MIT/X11/Expat
5 # license: MIT/X11/Expat
6 #
6 #
7
7
8 from __future__ import absolute_import
8 from __future__ import absolute_import, print_function
9
9
10 import polib
10 import polib
11 import re
11 import re
@@ -69,8 +69,8 b' if __name__ == "__main__":'
69 continue
69 continue
70 else:
70 else:
71 # lines following directly, unexpected
71 # lines following directly, unexpected
72 print 'Warning: text follows line with directive' \
72 print('Warning: text follows line with directive' \
73 ' %s' % directive
73 ' %s' % directive)
74 comment = 'do not translate: .. %s::' % directive
74 comment = 'do not translate: .. %s::' % directive
75 if not newentry.comment:
75 if not newentry.comment:
76 newentry.comment = comment
76 newentry.comment = comment
General Comments 0
You need to be logged in to leave comments. Login now