[dak/master] daklib/checks.py: correct error message for hijacks
Return the binary package name for the error message and not the package
object.
---
daklib/checks.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/daklib/checks.py b/daklib/checks.py
index f210d18..5b4cafe 100644
--- a/daklib/checks.py
+++ b/daklib/checks.py
@@ -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):
--
1.7.10.4
Reply to: