summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2001-08-09 20:57:46 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2001-08-09 20:57:46 (GMT)
commitaffadeb9fdc6c2c006b4c9ded3591fa4e7b08ebf (patch)
treef89904514b8b1048d9ebf5902531e8871d48e295
parent42a8c2b2217fba0c02c86cef771c1604c44a5993 (diff)
downloadcpython-affadeb9fdc6c2c006b4c9ded3591fa4e7b08ebf.zip
cpython-affadeb9fdc6c2c006b4c9ded3591fa4e7b08ebf.tar.gz
cpython-affadeb9fdc6c2c006b4c9ded3591fa4e7b08ebf.tar.bz2
Use correct variable name
-rw-r--r--Lib/distutils/fancy_getopt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/fancy_getopt.py b/Lib/distutils/fancy_getopt.py
index 6f8b8c0..83d0721 100644
--- a/Lib/distutils/fancy_getopt.py
+++ b/Lib/distutils/fancy_getopt.py
@@ -275,7 +275,7 @@ class FancyGetopt:
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: