Convert print statements to function calls in Tools/.
diff --git a/Tools/scripts/byext.py b/Tools/scripts/byext.py
index 998b4c0..1d58a94 100755
--- a/Tools/scripts/byext.py
+++ b/Tools/scripts/byext.py
@@ -109,14 +109,14 @@
cols.insert(0, "ext")
def printheader():
for col in cols:
- print "%*s" % (colwidth[col], col),
- print
+ print("%*s" % (colwidth[col], col), end=' ')
+ print()
printheader()
for ext in exts:
for col in cols:
value = self.stats[ext].get(col, "")
- print "%*s" % (colwidth[col], value),
- print
+ print("%*s" % (colwidth[col], value), end=' ')
+ print()
printheader() # Another header at the bottom
def main():