[Pkg-gnupg-commit] [gpgme] 68/132: python: Nicer repr for user ids.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed Apr 26 01:01:26 UTC 2017


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch experimental
in repository gpgme.

commit e17ab84129045512cf60c221ee43aa877507662f
Author: Justus Winter <justus at g10code.com>
Date:   Tue Feb 14 15:55:20 2017 +0100

    python: Nicer repr for user ids.
    
    * lang/python/gpgme.i (_gpgme_user_id): Provide a nicer repr() for
    user ids.
    
    Signed-off-by: Justus Winter <justus at g10code.com>
---
 lang/python/gpgme.i | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lang/python/gpgme.i b/lang/python/gpgme.i
index c0993ee..792567f 100644
--- a/lang/python/gpgme.i
+++ b/lang/python/gpgme.i
@@ -676,3 +676,7 @@ _gpg_unwrap_gpgme_ctx_t(PyObject *wrapped)
 %extend _gpgme_key_sig {
   genericrepr(KeySig)
 };
+
+%extend _gpgme_user_id {
+  genericrepr(UID)
+};

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gpgme.git



More information about the Pkg-gnupg-commit mailing list