From 99b02dac0de65575237357f255cc9289d8b2a895 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 14 Oct 2012 00:16:02 -0400 Subject: [PATCH] Make SVN extractor strip trailing blank lines. --- irkerhook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irkerhook.py b/irkerhook.py index af5a156..8e1a88e 100755 --- a/irkerhook.py +++ b/irkerhook.py @@ -296,7 +296,7 @@ class SvnExtractor(GenericExtractor): commit.rev = "r%s" % self.id commit.author = self.svnlook("author") commit.files = self.svnlook("dirs-changed").strip().replace("\n", " ") - commit.logmsg = self.svnlook("log") + commit.logmsg = self.svnlook("log").strip() + "\n" return commit def svnlook(self, info): return do("svnlook %s %s --revision %s" % (shellquote(info), shellquote(self.repository), shellquote(self.id))) -- 2.26.2