summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/logmerge.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/scripts/logmerge.py')
-rwxr-xr-xTools/scripts/logmerge.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/scripts/logmerge.py b/Tools/scripts/logmerge.py
index d07dfc6..8a9a11d 100755
--- a/Tools/scripts/logmerge.py
+++ b/Tools/scripts/logmerge.py
@@ -53,7 +53,7 @@ def main():
elif o == '-b':
branch = a
elif o == '-h':
- print __doc__
+ print(__doc__)
sys.exit(0)
database = []
while 1:
@@ -169,9 +169,9 @@ def format_output(database):
for (date, working_file, rev, author, text) in database:
if text != prevtext:
if prev:
- print sep2,
+ print(sep2, end=' ')
for (p_date, p_working_file, p_rev, p_author) in prev:
- print p_date, p_author, p_working_file, p_rev
+ print(p_date, p_author, p_working_file, p_rev)
sys.stdout.writelines(prevtext)
prev = []
prev.append((date, working_file, rev, author))