diff options
| author | bwarsaw | 2002-10-21 22:36:58 +0000 |
|---|---|---|
| committer | bwarsaw | 2002-10-21 22:36:58 +0000 |
| commit | 17da8273eb61687e1eb7c1e068613036fc1f3f46 (patch) | |
| tree | 32dbcb9bb3a6bc8726cf9442dca618674cb93544 /bin/pygettext.py | |
| parent | 993c8e5ba7e39b71b219aa20192bc98be7d29db1 (diff) | |
| download | mailman-17da8273eb61687e1eb7c1e068613036fc1f3f46.tar.gz mailman-17da8273eb61687e1eb7c1e068613036fc1f3f46.tar.zst mailman-17da8273eb61687e1eb7c1e068613036fc1f3f46.zip | |
Diffstat (limited to 'bin/pygettext.py')
| -rwxr-xr-x | bin/pygettext.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/bin/pygettext.py b/bin/pygettext.py index a0b687413..d6e1b4f79 100755 --- a/bin/pygettext.py +++ b/bin/pygettext.py @@ -183,9 +183,13 @@ msgstr "" def usage(code, msg=''): - print >> sys.stderr, _(__doc__) % globals() + if code: + fd = sys.stderr + else: + fd = sys.stdout + print >> fd, _(__doc__) % globals() if msg: - print >> sys.stderr, msg + print >> fd, msg sys.exit(code) |
