From: Jeremy Hylton Date: Tue, 4 Jun 2002 21:10:35 +0000 (+0000) Subject: Track extra arg to option_table to all uses of it X-Git-Tag: v2.3c1~5463 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=40ebbeff23bb109c5215246f8d400f832e4065d4;p=python Track extra arg to option_table to all uses of it --- diff --git a/Lib/distutils/fancy_getopt.py b/Lib/distutils/fancy_getopt.py index 2ed29a24fd..a11b4d5840 100644 --- a/Lib/distutils/fancy_getopt.py +++ b/Lib/distutils/fancy_getopt.py @@ -358,8 +358,8 @@ class FancyGetopt: else: lines = ['Option summary:'] - for (long,short,help) in self.option_table: - + for option in self.option_table: + long, short, help = option_table[:3] text = wrap_text(help, text_width) if long[-1] == '=': long = long[0:-1]