X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=bindings%2Fpython%2Fnotmuch%2Fdatabase.py;h=24da8e99f1b715d43ffd8136e10ca4a7ed921b72;hb=228d8c0528311fa0e6c7ef675530b653019946de;hp=2eae69ed72ae6aebde5671a55df97500899b4161;hpb=83b256b12be25b29f915587342b5ccb139864268;p=notmuch diff --git a/bindings/python/notmuch/database.py b/bindings/python/notmuch/database.py index 2eae69ed..24da8e99 100644 --- a/bindings/python/notmuch/database.py +++ b/bindings/python/notmuch/database.py @@ -935,7 +935,7 @@ class Filenames(object): file_ = Filenames._get(self._files_p) self._move_to_next(self._files_p) - return file_.decode('utf-8', errors='ignore') + return file_.decode('utf-8', 'ignore') next = __next__ # python2.x iterator protocol compatibility def __len__(self):