From c33f3d6dc103f657d135cd7d41192d6b0e68736d Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Fri, 24 Feb 2012 11:30:47 +0100 Subject: [PATCH] oops --- PLC/Auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PLC/Auth.py b/PLC/Auth.py index 2b93622..c370da9 100644 --- a/PLC/Auth.py +++ b/PLC/Auth.py @@ -85,7 +85,7 @@ class GPGAuth(Auth): keys = Keys(method.api, {'key_id': person['key_ids'], 'key_type': "gpg", 'peer_id': None}) gpg_keys = [ key['key'] for key in keys ] - if not keys: + if not gpg_keys: raise PLCAuthenticationFailure, "GPGAuth: No GPG key on record for peer or user '%s'" for gpg_key in gpg_keys: -- 2.43.0