summaryrefslogtreecommitdiff
path: root/fancy_getopt.py
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2002-06-04 21:11:56 +0000
committerJeremy Hylton <jeremy@alum.mit.edu>2002-06-04 21:11:56 +0000
commit03599c1b7e1719cbc27bef76603807002c384aec (patch)
tree4550b4be0c02de71f780d90b2859c9fbdf8e1fc8 /fancy_getopt.py
parent191a5b0aee9989c6619190229c217885135a7639 (diff)
downloadpython-setuptools-git-03599c1b7e1719cbc27bef76603807002c384aec.tar.gz
Test changes before checking them in.
Diffstat (limited to 'fancy_getopt.py')
-rw-r--r--fancy_getopt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fancy_getopt.py b/fancy_getopt.py
index a11b4d58..5de64e15 100644
--- a/fancy_getopt.py
+++ b/fancy_getopt.py
@@ -359,7 +359,7 @@ class FancyGetopt:
lines = ['Option summary:']
for option in self.option_table:
- long, short, help = option_table[:3]
+ long, short, help = option[:3]
text = wrap_text(help, text_width)
if long[-1] == '=':
long = long[0:-1]