python: Fix error handling.
authorJustus Winter <justus@g10code.com>
Thu, 16 Feb 2017 13:42:17 +0000 (14:42 +0100)
committerJustus Winter <justus@g10code.com>
Thu, 16 Feb 2017 13:42:17 +0000 (14:42 +0100)
commit048c5f74b61d5e4fa7617ce7c9111c6754bd4409
treea7373054c5f63485169baaf5f1d24461d05a9cfa
parentde708e5934cda380dbc3ae51f587c09041de7562
python: Fix error handling.

* lang/python/gpgme.i (typemap gpgme_key_t[]): Set an error if a
non-key element is discovered.

Signed-off-by: Justus Winter <justus@g10code.com>
lang/python/gpgme.i