commit | 40ebbeff23bb109c5215246f8d400f832e4065d4 | [log] [tgz] |
---|---|---|
author | Jeremy Hylton <jeremy@alum.mit.edu> | Tue Jun 04 21:10:35 2002 +0000 |
committer | Jeremy Hylton <jeremy@alum.mit.edu> | Tue Jun 04 21:10:35 2002 +0000 |
tree | f7797e042d2d1e21c22234aee6a4ae4dbe56ad98 | |
parent | 6b3996b2b93d134ca9528a3d6a7f4d2071973146 [diff] [blame] |
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 2ed29a2..a11b4d5 100644 --- a/Lib/distutils/fancy_getopt.py +++ b/Lib/distutils/fancy_getopt.py
@@ -358,8 +358,8 @@ 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]