diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-09-05 17:44:53 +0300 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-09-05 17:44:53 +0300 |
commit | dfc973a6b40805f6892834ff91a039edf1579aa7 (patch) | |
tree | 56329c8d17422fe05fdc6816618846434aef3eb9 /Lib/smtpd.py | |
parent | 087d0c5b4eb4d605aead3797aa12322de5059a8e (diff) | |
download | cpython-dfc973a6b40805f6892834ff91a039edf1579aa7.tar.gz |
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 'Lib/smtpd.py')
-rwxr-xr-x | Lib/smtpd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/smtpd.py b/Lib/smtpd.py index f28036a5b4..1fa157ade7 100755 --- a/Lib/smtpd.py +++ b/Lib/smtpd.py @@ -780,7 +780,7 @@ def parseargs(): if opt in ('-h', '--help'): usage(0) elif opt in ('-V', '--version'): - print(__version__, file=sys.stderr) + print(__version__) sys.exit(0) elif opt in ('-n', '--nosetuid'): options.setuid = 0 |