python: Fix hook.
authorJustus Winter <justus@gnupg.org>
Mon, 23 May 2016 16:23:34 +0000 (18:23 +0200)
committerJustus Winter <justus@gnupg.org>
Mon, 23 May 2016 16:23:34 +0000 (18:23 +0200)
commit283f0bdc3d32624dac93d02ba3df516e69d8d4ba
tree4dd2656100ef95e0175fbca1a855c34376d73c15
parent5476ca6813fc9d8833d5224f19d4bb7515380ab5
python: Fix hook.

* lang/python/helpers.c (pyProgressCb): Fix getting hook data.
* lang/python/tests/t-callbacks.py: Show that this works.

Signed-off-by: Justus Winter <justus@gnupg.org>
lang/python/helpers.c
lang/python/tests/t-callbacks.py