From: Eric S. Raymond Date: Mon, 25 Aug 2003 06:05:15 +0000 (+0000) Subject: Verbosity control. X-Git-Tag: 1.0~149 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=196632ac216002f883f3da41cbd31b2b90f89ab5;p=comparator.git Verbosity control. --- diff --git a/shredcompare.py b/shredcompare.py index 9267184..0af1970 100755 --- a/shredcompare.py +++ b/shredcompare.py @@ -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())