From: Eric S. Raymond Date: Wed, 10 Mar 2004 23:35:31 +0000 (+0000) Subject: Fix the report hook. X-Git-Tag: 2.4~8 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=4f5863f0bbd903395217f654ec4514e716222ae4;p=comparator.git Fix the report hook. --- diff --git a/filterator b/filterator index 4dec7a4..4055e51 100755 --- a/filterator +++ b/filterator @@ -8,10 +8,10 @@ def reporthook(clique): rep = "" (file, start, end, text) = state.extract_text(clique) if start == 1 and end == state.files[file]: - rep += "%% %s:%d-%d: entire (%d matches)" % \ + rep += "%% %s:%d-%d: entire (%d matches)\n" % \ (file, start, end, len(clique)) else: - rep += "%% %s:%d-%d: (%d matches)" % \ + rep += "%% %s:%d-%d: (%d matches)\n" % \ (file, start, end, len(clique)) rep += text return rep