From: Eric S. Raymond Date: Thu, 18 Sep 2003 07:02:50 +0000 (+0000) Subject: filterator reports statistics again. X-Git-Tag: 2.0~14 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=b009675d1768b68207281bfa38671dbd9e48058e;p=comparator.git filterator reports statistics again. --- diff --git a/filterator b/filterator index 780e2df..d9e7c19 100755 --- a/filterator +++ b/filterator @@ -15,8 +15,12 @@ if __name__ == '__main__': print "Shred-Size: %d" % state.shredsize if minsize: print "Minimum-Size: %d" % minsize - #print 75 * '-' - #sys.stdout.write(str(comparator.CommonStatistics(state))) + print 75 * '-' + for tree in state.trees: + rep = tree + ":" + for (key, value) in state.trees[tree].items(): + rep += " %s=%s," % (key, value) + sys.stdout.write(rep[:-1] + "\n") print 75 * '-' for clique in state.cliques: for (file, start, end) in clique: