From affadeb9fdc6c2c006b4c9ded3591fa4e7b08ebf Mon Sep 17 00:00:00 2001 From: "Andrew M. Kuchling" Date: Thu, 9 Aug 2001 20:57:46 +0000 Subject: [PATCH] Use correct variable name --- Lib/distutils/fancy_getopt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/distutils/fancy_getopt.py b/Lib/distutils/fancy_getopt.py index 6f8b8c06f18..83d07216a77 100644 --- a/Lib/distutils/fancy_getopt.py +++ b/Lib/distutils/fancy_getopt.py @@ -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: