Revert "policies/email.py: if there are no gpg entries don't continue"

This reverts commit bc49b74ab7.
less-recipients2
Brian Murray 6 months ago
parent bc49b74ab7
commit 248df06002

@ -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",

Loading…
Cancel
Save