More 2to3 fixes in the Tools directory. Fixes #2893.

This commit is contained in:
Georg Brandl 2008-05-16 17:02:34 +00:00
parent acbca71ea7
commit bf82e374ee
38 changed files with 1999 additions and 2032 deletions

View file

@ -537,9 +537,9 @@ class Application:
if not options:
print(' None')
return
long = filter(lambda x: x.prefix == '--', options)
short = filter(lambda x: x.prefix == '-', options)
items = short + long
int = [x for x in options if x.prefix == '--']
short = [x for x in options if x.prefix == '-']
items = short + int
for o in options:
print(' ',o)
print()