diff --git a/method/__init__.py b/method/__init__.py index f0bac4d..a7b0384 100644 --- a/method/__init__.py +++ b/method/__init__.py @@ -1125,7 +1125,7 @@ class SvnCommit(Method): lines = data.split('\n') try: - if status == 0: + if status != 0: raise Exception for line in lines: m = self.regex.match(line)