]> thyrsus.com Git - comparator.git/commitdiff
Fix the report hook.
authorEric S. Raymond <esr@thyrsus.com>
Wed, 10 Mar 2004 23:35:31 +0000 (23:35 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Wed, 10 Mar 2004 23:35:31 +0000 (23:35 +0000)
filterator

index 4dec7a470cc3ca03bb886f4362eb1f45a0bcea94..4055e5134149319c0eab8db56e9a9bf3089cad2d 100755 (executable)
@@ -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