#9095, #8912, #8999: add support in patchcheck for Mercurial checkouts, C file reindenting, and docs whitespace fixing.
diff --git a/Tools/scripts/untabify.py b/Tools/scripts/untabify.py
index 1ad589c..ef63c41 100755
--- a/Tools/scripts/untabify.py
+++ b/Tools/scripts/untabify.py
@@ -25,7 +25,7 @@
process(filename, tabsize)
-def process(filename, tabsize):
+def process(filename, tabsize, verbose=True):
try:
with open(filename) as f:
text = f.read()
@@ -46,7 +46,8 @@
pass
with open(filename, "w") as f:
f.write(newtext)
- print(filename)
+ if verbose:
+ print(filename)
if __name__ == '__main__':