summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gemato/openpgp.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/gemato/openpgp.py b/gemato/openpgp.py
index 14b676e..a1c986d 100644
--- a/gemato/openpgp.py
+++ b/gemato/openpgp.py
@@ -289,8 +289,9 @@ debug-level guru
keys were successfully found. Otherwise, returns false.
"""
if requests is None:
- raise gemato.exceptions.OpenPGPKeyRefreshError(
- 'WKD updates require requests Python module')
+ logging.debug('refresh_keys_wkd(): failing because requests'
+ 'module is missing')
+ return False
# list all keys in the keyring
exitst, out, err = self._spawn_gpg(