summaryrefslogtreecommitdiff
path: root/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'core.py')
-rw-r--r--core.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/core.py b/core.py
index 222e6aeb..fbf5d511 100644
--- a/core.py
+++ b/core.py
@@ -125,9 +125,7 @@ def setup (**attrs):
try:
ok = dist.parse_command_line()
except DistutilsArgError, msg:
- script = os.path.basename(dist.script_name)
- raise SystemExit, \
- gen_usage(dist.script_name) + "\nerror: %s" % msg
+ raise SystemExit, gen_usage(dist.script_name) + "\nerror: %s" % msg
if DEBUG:
print "options (after parsing command line):"