]> git.decadent.org.uk Git - dak.git/blobdiff - daklib/checks.py
daklib/checks.py: correct error message for hijacks
[dak.git] / daklib / checks.py
index f210d186e43318be8859e2f39658055d52506d12..5b4cafe35ccc93ef01159d4575136d8784b63f74 100644 (file)
@@ -443,7 +443,7 @@ class ACLCheck(Check):
                 .filter(DBBinary.package == binary_name)
             for binary in binaries:
                 if binary.source.source != upload.changes.changes['Source']:
-                    return True, binary, binary.source.source
+                    return True, binary.package, binary.source.source
         return False, None, None
 
     def _check_acl(self, session, upload, acl):