Use correct variable name

This commit is contained in:
Andrew M. Kuchling 2001-08-09 20:57:46 +00:00
parent 42a8c2b221
commit affadeb9fd
1 changed files with 1 additions and 1 deletions

View File

@ -275,7 +275,7 @@ class FancyGetopt:
if not self.takes_arg[opt]: # boolean option? if not self.takes_arg[opt]: # boolean option?
if val != '': # shouldn't have a value! if val != '': # shouldn't have a value!
raise DistutilsInternalError, \ 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) alias = self.negative_alias.get(opt)
if alias: if alias: