]> git.decadent.org.uk Git - dak.git/commitdiff
checks: Fix a syntax error in ExternalHashCheck
authorGergely Nagy <algernon@madhouse-project.org>
Mon, 17 Sep 2012 13:16:48 +0000 (13:16 +0000)
committerGergely Nagy <algernon@madhouse-project.org>
Mon, 17 Sep 2012 13:16:48 +0000 (13:16 +0000)
There was one extra closing parens in a call to raise
RejectStupidMaintainerException (oops, stupid me), lets remove it.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
daklib/checks.py

index 92f7e12278de34a2781a27272dab6f7052196c71..e7afda55340fd811ab40c4bff169485d1f64d055 100644 (file)
@@ -183,7 +183,7 @@ class ExternalHashesCheck(Check):
             return
 
         if ext_size != f.size:
-            raise RejectStupidMaintainerException(f.filename, 'size', f.size, ext_size))
+            raise RejectStupidMaintainerException(f.filename, 'size', f.size, ext_size)
 
         if ext_md5sum != f.md5sum:
             raise RejectStupidMaintainerException(f.filename, 'md5sum', f.md5sum, ext_md5sum)