commit:     f968a0f31db4acd8bad157cf57f2ad0206a5fafa
Author:     Pavlos Ratis <dastergon <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 16 23:42:42 2014 +0000
Commit:     Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
CommitDate: Sun Aug 17 00:06:01 2014 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=proj/gentoo-keys.git;a=commit;h=f968a0f3

create GKEY_CHECKS, a namedtuple used in gkey checks

---
 gkeys/config.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gkeys/config.py b/gkeys/config.py
index 6b9888e..d353cbb 100644
--- a/gkeys/config.py
+++ b/gkeys/config.py
@@ -145,3 +145,7 @@ class GKEY(namedtuple('GKEY', ['nick', 'name', 'keydir', 
'fingerprint'])):
             fingerprint = {'fingerprint': f, 'keyid': '0x' + f[-16:]}
             output += GKEY_FINGERPRINTS % fingerprint
         return output
+
+class GKEY_CHECK(namedtuple('GKEY_CHECK', ['keyid', 'revoked', 'expired', 
'invalid', 'sign'])):
+
+    __slots__ = ()

Reply via email to