diff options
| author | Justus Winter <[email protected]> | 2016-05-10 11:30:30 +0000 | 
|---|---|---|
| committer | Justus Winter <[email protected]> | 2016-05-10 11:30:30 +0000 | 
| commit | aade53a12b9716997684b872bc2ac87229f73fb3 (patch) | |
| tree | 3b7765c59ff99c7929a3e08053bcd2f301a1ceec /lang/python/helpers.c | |
| parent | python: Drop Debian packaging. (diff) | |
| download | gpgme-aade53a12b9716997684b872bc2ac87229f73fb3.tar.gz gpgme-aade53a12b9716997684b872bc2ac87229f73fb3.zip | |
python: Delete trailing whitespace.
--
Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to '')
| -rw-r--r-- | lang/python/helpers.c | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/lang/python/helpers.c b/lang/python/helpers.c index b53dbdd8..96c844fb 100644 --- a/lang/python/helpers.c +++ b/lang/python/helpers.c @@ -66,7 +66,7 @@ static gpgme_error_t pyPassphraseCb(void *hook,    PyObject *args = NULL;    PyObject *retval = NULL;    PyObject *dataarg = NULL; -  gpgme_error_t err_status = 0;   +  gpgme_error_t err_status = 0;    pygpgme_exception_init(); @@ -119,7 +119,7 @@ static void pyProgressCb(void *hook, const char *what, int type, int current,  			 int total) {    PyObject *func = NULL, *dataarg = NULL, *args = NULL, *retval = NULL;    PyObject *pyhook = (PyObject *) hook; -   +    if (PyTuple_Check(pyhook)) {      func = PyTuple_GetItem(pyhook, 0);      dataarg = PyTuple_GetItem(pyhook, 1); @@ -137,7 +137,7 @@ static void pyProgressCb(void *hook, const char *what, int type, int current,      Py_INCREF(dataarg);		/* Because GetItem doesn't give a ref but SetItem taketh away */      PyTuple_SetItem(args, 4, dataarg);    } -   +    retval = PyObject_CallObject(func, args);    Py_DECREF(args);    Py_XDECREF(retval); | 
