python: fix signature of two wrapped libnotmuch functions

Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
This commit is contained in:
Justus Winter 2012-03-16 13:56:32 +01:00 committed by David Bremner
parent ea54c4fdc7
commit 3a95f3fbc1
2 changed files with 2 additions and 2 deletions

View file

@ -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"""

View file

@ -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"""