Fix multi-arg append().

This commit is contained in:
Guido van Rossum 2000-02-29 13:00:16 +00:00
parent 15861b2a41
commit 67dd17f730
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ def parsedir(dir, modify):
print '--------------' print '--------------'
list = [] list = []
for e in errordict.keys(): for e in errordict.keys():
list.append(errordict[e], errorfirst[e], errorlast[e], e) list.append((errordict[e], errorfirst[e], errorlast[e], e))
list.sort() list.sort()
for num, first, last, e in list: for num, first, last, e in list:
print '%d %s - %s\t%s' % (num, first, last, e) print '%d %s - %s\t%s' % (num, first, last, e)