From 248df06002ec47d7da315c42e11707fff5892b05 Mon Sep 17 00:00:00 2001 From: Brian Murray Date: Wed, 10 Jul 2024 14:40:13 -0700 Subject: [PATCH] Revert "policies/email.py: if there are no gpg entries don't continue" This reverts commit bc49b74ab765182b27e2d2c3fd5c7c0ff44cd767. --- britney2/policies/email.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/britney2/policies/email.py b/britney2/policies/email.py index 81ede8e..9320400 100644 --- a/britney2/policies/email.py +++ b/britney2/policies/email.py @@ -131,8 +131,6 @@ class EmailPolicy(BasePolicy, Rest): addresses = [] try: gpg = self.query_lp_rest_api(person + "/gpg_keys", {}) - if len(gpg["entries"]) == 0: - return None for key in gpg["entries"]: details = self.query_rest_api( "http://keyserver.ubuntu.com/pks/lookup",