aboutsummaryrefslogtreecommitdiffhomepage
path: root/bindings/python
diff options
context:
space:
mode:
authorGravatar Justus Winter <4winter@informatik.uni-hamburg.de>2012-03-16 13:56:32 +0100
committerGravatar David Bremner <bremner@debian.org>2012-03-18 07:59:36 -0300
commit3a95f3fbc1602d612aec2b7f1095e40c95723aee (patch)
tree4dafb8bc85eeab8902b6fc20f402b0f5ac38a849 /bindings/python
parentea54c4fdc7d0ed9a4d6ab328d44c10ce5668d587 (diff)
python: fix signature of two wrapped libnotmuch functions
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
Diffstat (limited to 'bindings/python')
-rw-r--r--bindings/python/notmuch/directory.py2
-rw-r--r--bindings/python/notmuch/threads.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/bindings/python/notmuch/directory.py b/bindings/python/notmuch/directory.py
index 0c5e015e..284cbdce 100644
--- a/bindings/python/notmuch/directory.py
+++ b/bindings/python/notmuch/directory.py
@@ -177,7 +177,7 @@ class Directory(object):
_destroy = nmlib.notmuch_directory_destroy
_destroy.argtypes = [NotmuchDirectoryP]
- _destroy.argtypes = None
+ _destroy.restype = None
def __del__(self):
"""Close and free the Directory"""
diff --git a/bindings/python/notmuch/threads.py b/bindings/python/notmuch/threads.py
index 690206ef..225f5246 100644
--- a/bindings/python/notmuch/threads.py
+++ b/bindings/python/notmuch/threads.py
@@ -172,7 +172,7 @@ class Threads(Python3StringMixIn):
_destroy = nmlib.notmuch_threads_destroy
_destroy.argtypes = [NotmuchThreadsP]
- _destroy.argtypes = None
+ _destroy.restype = None
def __del__(self):
"""Close and free the notmuch Threads"""