python: Make type translation compatible with Python 2.7.
authorJustus Winter <justus@g10code.com>
Mon, 12 Sep 2016 15:11:19 +0000 (17:11 +0200)
committerJustus Winter <justus@g10code.com>
Mon, 12 Sep 2016 15:11:19 +0000 (17:11 +0200)
commit1d5bbbf1185a0d1f82750f10b69dad3999f7ef4c
tree0ea7ec45e4ef6aeea618f1b006eabc55e05e3901
parent70999d81618b3d3ae6b61a43be2ce703ad284275
python: Make type translation compatible with Python 2.7.

* lang/python/gpgme.i: Avoid functions not available in Python 2.7.
* lang/python/helpers.c: Likewise.

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