diff options
author | Greg Ward <gward@python.net> | 1999-12-16 01:19:05 (GMT) |
---|---|---|
committer | Greg Ward <gward@python.net> | 1999-12-16 01:19:05 (GMT) |
commit | 9d46b9ce9760f8cd6c29b05c50b9e41ffe781f4c (patch) | |
tree | 3dd8ce812f7b660cc88766c15e0c70707900e518 /Lib | |
parent | ad83f04086bba6484be81a2a734432177b226f39 (diff) | |
download | cpython-9d46b9ce9760f8cd6c29b05c50b9e41ffe781f4c.zip cpython-9d46b9ce9760f8cd6c29b05c50b9e41ffe781f4c.tar.gz cpython-9d46b9ce9760f8cd6c29b05c50b9e41ffe781f4c.tar.bz2 |
When emitting a command-line error message, *say* it's an error.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/distutils/core.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/core.py b/Lib/distutils/core.py index 13bf9c7..fd5ba90 100644 --- a/Lib/distutils/core.py +++ b/Lib/distutils/core.py @@ -88,7 +88,7 @@ def setup (**attrs): ok = dist.parse_command_line (sys.argv[1:]) except DistutilsArgError, msg: sys.stderr.write (usage + "\n") - raise SystemExit, msg + raise SystemExit, "error: %s" % msg # And finally, run all the commands found on the command line. if ok: |