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@g10code.com>
This commit is contained in:
Justus Winter 2017-02-14 15:55:20 +01:00
parent 99b7f4f34d
commit e17ab84129
No known key found for this signature in database
GPG Key ID: DD1A52F9DA8C9020

View File

@ -676,3 +676,7 @@ _gpg_unwrap_gpgme_ctx_t(PyObject *wrapped)
%extend _gpgme_key_sig {
genericrepr(KeySig)
};
%extend _gpgme_user_id {
genericrepr(UID)
};