[Python-checkins] python/dist/src/Lib/distutils fancy_getopt.py,1.23,1.24
jhylton@users.sourceforge.net
jhylton@users.sourceforge.net
Tue, 04 Jun 2002 14:10:40 -0700
Update of /cvsroot/python/python/dist/src/Lib/distutils
In directory usw-pr-cvs1:/tmp/cvs-serv24957
Modified Files:
fancy_getopt.py
Log Message:
Track extra arg to option_table to all uses of it
Index: fancy_getopt.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/distutils/fancy_getopt.py,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** fancy_getopt.py 4 Jun 2002 20:35:10 -0000 1.23
--- fancy_getopt.py 4 Jun 2002 21:10:35 -0000 1.24
***************
*** 359,364 ****
lines = ['Option summary:']
! for (long,short,help) in self.option_table:
!
text = wrap_text(help, text_width)
if long[-1] == '=':
--- 359,364 ----
lines = ['Option summary:']
! for option in self.option_table:
! long, short, help = option_table[:3]
text = wrap_text(help, text_width)
if long[-1] == '=':