summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/logmerge.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-08-14 23:25:20 (GMT)
committerGuido van Rossum <guido@python.org>1997-08-14 23:25:20 (GMT)
commit939e4c1efb9d1d598e8102f91b9b4873dad0de61 (patch)
tree9e413b34978b63aff19b28c6881d172e21b2607c /Tools/scripts/logmerge.py
parent1acceb0650aa0bebe082517627d375aea0be25c8 (diff)
downloadcpython-939e4c1efb9d1d598e8102f91b9b4873dad0de61.zip
cpython-939e4c1efb9d1d598e8102f91b9b4873dad0de61.tar.gz
cpython-939e4c1efb9d1d598e8102f91b9b4873dad0de61.tar.bz2
Oops, there was a bug in the output formatting - the last printed
values would overwrite the next value.
Diffstat (limited to 'Tools/scripts/logmerge.py')
-rwxr-xr-xTools/scripts/logmerge.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/scripts/logmerge.py b/Tools/scripts/logmerge.py
index 5999c2e..f74d4f9 100755
--- a/Tools/scripts/logmerge.py
+++ b/Tools/scripts/logmerge.py
@@ -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))