Kaydet (Commit) 939e4c1e authored tarafından Guido van Rossum's avatar Guido van Rossum

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

values would overwrite the next value.
üst 1acceb06
...@@ -114,8 +114,8 @@ def format_output(database): ...@@ -114,8 +114,8 @@ def format_output(database):
if text != prevtext: if text != prevtext:
if prev: if prev:
print sep2, print sep2,
for (date, working_file, rev) in prev: for (p_date, p_working_file, p_rev) in prev:
print date, working_file print p_date, p_working_file
sys.stdout.writelines(prevtext) sys.stdout.writelines(prevtext)
prev = [] prev = []
prev.append((date, working_file, rev)) prev.append((date, working_file, rev))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment