]> git.cworth.org Git - obsolete/notmuch-old/blobdiff - bindings/python/notmuch/threads.py
python: strip superfluous single quote from copyright notices
[obsolete/notmuch-old] / bindings / python / notmuch / threads.py
index 9d305e23423418fe26a0c2bc9c2beea93692176e..fb053f939de64ca42b968571ab56a68fc0e36ec3 100644 (file)
@@ -14,17 +14,19 @@ for more details.
 You should have received a copy of the GNU General Public License
 along with notmuch.  If not, see <http://www.gnu.org/licenses/>.
 
-Copyright 2010 Sebastian Spaeth <Sebastian@SSpaeth.de>'
+Copyright 2010 Sebastian Spaeth <Sebastian@SSpaeth.de>
 """
 
 from notmuch.globals import (
     nmlib,
     Python3StringMixIn,
-    NullPointerError,
-    NotInitializedError,
     NotmuchThreadP,
     NotmuchThreadsP,
 )
+from .errors import (
+    NullPointerError,
+    NotInitializedError,
+)
 from .thread import Thread
 
 class Threads(Python3StringMixIn):
@@ -170,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"""