]> git.decadent.org.uk Git - dak.git/commitdiff
dpkg upload block
authorJoerg Jaspert <joerg@debian.org>
Sat, 3 Jan 2009 12:54:43 +0000 (13:54 +0100)
committerJoerg Jaspert <joerg@debian.org>
Sat, 3 Jan 2009 12:54:43 +0000 (13:54 +0100)
this also uses lookup_uid_from_fingerprint which now returns 3 values...

Signed-off-by: Joerg Jaspert <joerg@debian.org>
config/debian/extensions.py

index 1e7ea43321dca1816a4a20fc8f6d009ec69e2c15..0bb51bd7e8d6281f776a578efb0a95c1fd3b4796 100644 (file)
@@ -86,7 +86,7 @@ def check_signed_by_key(oldfn):
 
     if changes["source"] == "dpkg":
         fpr = changes["fingerprint"]
-        (uid, uid_name) = dak_module.lookup_uid_from_fingerprint(fpr)
+        (uid, uid_name, is_dm) = dak_module.lookup_uid_from_fingerprint(fpr)
         if fpr == "5906F687BD03ACAD0D8E602EFCF37657" or uid == "iwj":
             reject("Upload blocked due to hijack attempt 2008/03/19")