From: Greg Ward Date: Thu, 16 Dec 1999 01:19:05 +0000 (+0000) Subject: When emitting a command-line error message, *say* it's an error. X-Git-Tag: v1.6a1~626 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9d46b9ce9760f8cd6c29b05c50b9e41ffe781f4c;p=python When emitting a command-line error message, *say* it's an error. --- diff --git a/Lib/distutils/core.py b/Lib/distutils/core.py index 13bf9c7fcb..fd5ba907fb 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: