summaryrefslogtreecommitdiff
path: root/core.py
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2002-06-04 20:26:44 +0000
committerJeremy Hylton <jeremy@alum.mit.edu>2002-06-04 20:26:44 +0000
commitc3296eab8b1919b8f4c3fcdbfbd34deca6a22040 (patch)
treed3b8e32bf911f4aab97e0e1c22e3e519c8312f3e /core.py
parentae4a1269c661b5fb842d7d18911d5a0c19ded7dc (diff)
downloadpython-setuptools-git-c3296eab8b1919b8f4c3fcdbfbd34deca6a22040.tar.gz
Fix unused local variables caught by pychecker.
Fixes a bug for Solaris pkgtool (bdist_pkgtool) that would have prevented it from building subpackages.
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):"