mirror of https://github.com/python/cpython.git
Use correct variable name
This commit is contained in:
parent
42a8c2b221
commit
affadeb9fd
|
@ -275,7 +275,7 @@ def getopt (self, args=None, object=None):
|
|||
if not self.takes_arg[opt]: # boolean option?
|
||||
if val != '': # shouldn't have a value!
|
||||
raise DistutilsInternalError, \
|
||||
"this can't happen: bad option value '%s'" % value
|
||||
"this can't happen: bad option value '%s'" % val
|
||||
|
||||
alias = self.negative_alias.get(opt)
|
||||
if alias:
|
||||
|
|
Loading…
Reference in New Issue