From 1297e2ed83ef4e15bff474e00e3f0ac14c689252 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Wed, 29 May 2013 09:06:01 +0200 Subject: [PATCH] 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 f210d186..5b4cafe3 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): -- 2.39.2