From 50bf60e2a30e1e92c9c56ad5db4c4e7792525e23 Mon Sep 17 00:00:00 2001 From: moculus Date: Sun, 16 Mar 2008 23:30:11 +0000 Subject: [PATCH] blargo4 --HG-- branch : pmacs2 --- method/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/method/__init__.py b/method/__init__.py index a2cd055..f0bac4d 100644 --- a/method/__init__.py +++ b/method/__init__.py @@ -1128,7 +1128,7 @@ class SvnCommit(Method): if status == 0: raise Exception for line in lines: - m = self.regex.match(lines[-1]) + m = self.regex.match(line) if m: w.set_error("Committed [%s]" % (m.group(1))) return @@ -1243,7 +1243,7 @@ class CvsCommit(Method): if status == 0: for line in lines: - m = self.regex.match(lines[-1]) + m = self.regex.match(line) if m: w.set_error("Committed [%s -> %s]" % (m.group(2), m.group(1))) return