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:
parent
99b7f4f34d
commit
e17ab84129
@ -676,3 +676,7 @@ _gpg_unwrap_gpgme_ctx_t(PyObject *wrapped)
|
||||
%extend _gpgme_key_sig {
|
||||
genericrepr(KeySig)
|
||||
};
|
||||
|
||||
%extend _gpgme_user_id {
|
||||
genericrepr(UID)
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user