Oops, there was a bug in the output formatting - the last printed

values would overwrite the next value.
This commit is contained in:
Guido van Rossum 1997-08-14 23:25:20 +00:00
parent 1acceb0650
commit 939e4c1efb
1 changed files with 2 additions and 2 deletions

View File

@ -114,8 +114,8 @@ def format_output(database):
if text != prevtext:
if prev:
print sep2,
for (date, working_file, rev) in prev:
print date, working_file
for (p_date, p_working_file, p_rev) in prev:
print p_date, p_working_file
sys.stdout.writelines(prevtext)
prev = []
prev.append((date, working_file, rev))