Make the linkchecker output usable with Emacs' grep-mode.

This commit is contained in:
Georg Brandl 2008-03-15 08:02:19 +00:00
parent e886f2c5ae
commit 0f0c91875c

View File

@ -100,8 +100,8 @@ class CheckExternalLinksBuilder(Builder):
def write_entry(self, what, docname, line, uri):
output = open(path.join(self.outdir, 'output.txt'), 'a')
output.write("%s:%s [%s] %s\n" % (self.env.doc2path(docname, None),
line, what, uri))
output.write("%s:%s: [%s] %s\n" % (self.env.doc2path(docname, None),
line, what, uri))
output.close()
def resolve(self, uri):