python: Fix name of exception, make slot methods explicit.
authorJustus Winter <justus@gnupg.org>
Thu, 12 May 2016 10:51:30 +0000 (12:51 +0200)
committerJustus Winter <justus@gnupg.org>
Thu, 12 May 2016 10:59:05 +0000 (12:59 +0200)
commitaf9371eb63664c92fb67e8e7e03cc984e7d38a7f
tree5ea61332c1523c9463feb9bc387fc27b974087f9
parentce5121ad53b0e17fbf9150b354c80da73f7fe190
python: Fix name of exception, make slot methods explicit.

* lang/python/pyme/util.py (GpgmeWrapper._getctype): Fix exception,
add docstring.
(GpgmeWrapper._getnameprepend): New function.
(GpgmeWrapper._errorcheck): Likewise.

Signed-off-by: Justus Winter <justus@gnupg.org>
lang/python/pyme/util.py