mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Fix unused local variables caught by pychecker.
Fixes a bug for Solaris pkgtool (bdist_pkgtool) that would have prevented it from building subpackages.
This commit is contained in:
parent
a181ec07af
commit
a2f9989c1a
6 changed files with 8 additions and 22 deletions
|
@ -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):"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue