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