From: Gergely Nagy <algernon@madhouse-project.org>
Date: Mon, 17 Sep 2012 13:16:48 +0000 (+0000)
Subject: checks: Fix a syntax error in ExternalHashCheck
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=58a48ef44869a6413810d725507a8ebdc2da766a;p=dak.git

checks: Fix a syntax error in ExternalHashCheck

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>
---

diff --git a/daklib/checks.py b/daklib/checks.py
index 92f7e122..e7afda55 100644
--- a/daklib/checks.py
+++ b/daklib/checks.py
@@ -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)