]> thyrsus.com Git - comparator.git/commitdiff
Verbosity control.
authorEric S. Raymond <esr@thyrsus.com>
Mon, 25 Aug 2003 06:05:15 +0000 (06:05 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Mon, 25 Aug 2003 06:05:15 +0000 (06:05 +0000)
shredcompare.py

index 926718494987b210f44ac221d9d976ead71ecd9a..0af1970b6b9357815e9ff2ffa826826c5f9fa42e 100755 (executable)
@@ -189,5 +189,6 @@ if __name__ == '__main__':
         report_time("Match list complete")
         for (source, target) in matches:
             print source, "->", target
-            sys.stdout.write(source.fetch())
+            if verbose:
+                sys.stdout.write(source.fetch())