[gnome-keysign: 5/6] gpgmeh: Use ImportResult.new_revocations rather than revocations
- From: Tobias Mueller <tobiasmue src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-keysign: 5/6] gpgmeh: Use ImportResult.new_revocations rather than revocations
- Date: Mon, 3 Feb 2020 13:22:59 +0000 (UTC)
commit e7cd99b46d87cb0f8d3a2d117c055fb446567b75
Author: Tobias Mueller <muelli cryptobitch de>
Date: Mon Feb 3 13:52:44 2020 +0100
gpgmeh: Use ImportResult.new_revocations rather than revocations
The latter does not exist...
keysign/gpgmeh.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/keysign/gpgmeh.py b/keysign/gpgmeh.py
index 0fa6e31..f6d2291 100755
--- a/keysign/gpgmeh.py
+++ b/keysign/gpgmeh.py
@@ -532,7 +532,7 @@ def decrypt_signature(encrypted_sig, homedir=None):
log.warning("Trying to import a new key instead of a signature!")
raise GPGMEError
- if result.new_signatures == 0 or result.revocations != 0 or result.new_sub_keys != 0:
+ if result.new_signatures == 0 or result.new_revocations != 0 or result.new_sub_keys != 0:
log.warning("The signature that we were importing is not as we expected!")
raise GPGMEError
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]