summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-09-05 14:44:53 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-09-05 14:44:53 (GMT)
commitc56894d305211c98882898f237ff54f620520139 (patch)
tree5427218d2f05da3acfe2175f93f32116fd5c1973 /Tools
parent34464d42a89e48abea4e9424f9dc975f0b6fd656 (diff)
downloadcpython-c56894d305211c98882898f237ff54f620520139.zip
cpython-c56894d305211c98882898f237ff54f620520139.tar.gz
cpython-c56894d305211c98882898f237ff54f620520139.tar.bz2
Issue #18922: Now The Lib/smtpd.py and Tools/i18n/msgfmt.py scripts write
their version strings to stdout, and not to sderr.
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/i18n/msgfmt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/i18n/msgfmt.py b/Tools/i18n/msgfmt.py
index cd90691..b0751a1 100755
--- a/Tools/i18n/msgfmt.py
+++ b/Tools/i18n/msgfmt.py
@@ -218,7 +218,7 @@ def main():
if opt in ('-h', '--help'):
usage(0)
elif opt in ('-V', '--version'):
- print("msgfmt.py", __version__, file=sys.stderr)
+ print("msgfmt.py", __version__)
sys.exit(0)
elif opt in ('-o', '--output-file'):
outfile = arg