Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 939e4c1

Browse files
committed
Oops, there was a bug in the output formatting - the last printed
values would overwrite the next value.
1 parent 1acceb0 commit 939e4c1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Tools/scripts/logmerge.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ def format_output(database):
114114
if text != prevtext:
115115
if prev:
116116
print sep2,
117-
for (date, working_file, rev) in prev:
118-
print date, working_file
117+
for (p_date, p_working_file, p_rev) in prev:
118+
print p_date, p_working_file
119119
sys.stdout.writelines(prevtext)
120120
prev = []
121121
prev.append((date, working_file, rev))

0 commit comments

Comments
 (0)