diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2010-07-11 17:39:46 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2010-07-11 17:39:46 (GMT) |
commit | 25fcd392aa84cdc156ba4480c7b301809de72984 (patch) | |
tree | 91e5db73639cbef47ee6ccc7d0506709102bc797 /Tools | |
parent | 8e0c9968731ac7f1d94bddff348544c70833b52b (diff) | |
download | cpython-25fcd392aa84cdc156ba4480c7b301809de72984.zip cpython-25fcd392aa84cdc156ba4480c7b301809de72984.tar.gz cpython-25fcd392aa84cdc156ba4480c7b301809de72984.tar.bz2 |
Issue #8974: fix print calls in msgfmt.py.
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/i18n/msgfmt.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/i18n/msgfmt.py b/Tools/i18n/msgfmt.py index b3e6bec..c4b3c1a 100755 --- a/Tools/i18n/msgfmt.py +++ b/Tools/i18n/msgfmt.py @@ -165,7 +165,7 @@ def make(filename, outfile): section = STR if l.startswith('msgstr['): if not is_plural: - print(sys.stderr, 'plural without msgid_plural on %s:%d' % (infile, lno), + print('plural without msgid_plural on %s:%d' % (infile, lno), file=sys.stderr) sys.exit(1) l = l.split(']', 1)[1] @@ -173,7 +173,7 @@ def make(filename, outfile): msgstr += b'\0' # Separator of the various plural forms else: if is_plural: - print(sys.stderr, 'indexed msgstr required for plural on %s:%d' % (infile, lno), + print('indexed msgstr required for plural on %s:%d' % (infile, lno), file=sys.stderr) sys.exit(1) l = l[6:] |