]> granicus.if.org Git - python/commitdiff
Test changes before checking them in.
authorJeremy Hylton <jeremy@alum.mit.edu>
Tue, 4 Jun 2002 21:11:56 +0000 (21:11 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Tue, 4 Jun 2002 21:11:56 +0000 (21:11 +0000)
Lib/distutils/fancy_getopt.py

index a11b4d58409a7ae287ccdd901a875f1be13fbf88..5de64e15da64cd3c434fea7d4c55caf01962a55a 100644 (file)
@@ -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]