# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 1463089170 -19800 # Node ID 90d84e1e427a9d65aedd870cdb7283f84bb30141 # Parent c5057b7780dcf97f6b248434c0648af2d032a5cd py3: make i18n/posplit use print_function diff -r c5057b7780dc -r 90d84e1e427a 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