From 40ebbeff23bb109c5215246f8d400f832e4065d4 Mon Sep 17 00:00:00 2001 From: Jeremy Hylton Date: Tue, 4 Jun 2002 21:10:35 +0000 Subject: [PATCH] Track extra arg to option_table to all uses of it --- Lib/distutils/fancy_getopt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/distutils/fancy_getopt.py b/Lib/distutils/fancy_getopt.py index 2ed29a24fd9..a11b4d58409 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]