aboutsummaryrefslogtreecommitdiff
path: root/bindings/python
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2018-10-20 14:24:33 -0300
committerDavid Bremner <david@tethera.net>2018-10-20 14:24:33 -0300
commitc201ee2193f4868fca082d3fe094a8ad04ad58cc (patch)
treeff64dc83845a7b73c7d61d15353c9173857202c6 /bindings/python
parent0ff3786ac03684245488f09d59be98325877656b (diff)
parent175f80c4c1826b7a77417bfbc804348988eb85d3 (diff)
Merge tag 'debian/0.28-2' into debian/stretch-backports
notmuch release 0.28-2 for unstable (sid) [dgit] [dgit distro=debian]
Diffstat (limited to 'bindings/python')
-rw-r--r--bindings/python/notmuch/message.py2
-rw-r--r--bindings/python/notmuch/version.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/bindings/python/notmuch/message.py b/bindings/python/notmuch/message.py
index d242097a..de0fb415 100644
--- a/bindings/python/notmuch/message.py
+++ b/bindings/python/notmuch/message.py
@@ -482,7 +482,7 @@ class Message(Python3StringMixIn):
if status != 0:
raise NotmuchError(status)
- return value.value.decode('utf-8')
+ return value.value.decode('utf-8') if value is not None else None
def get_properties(self, prop="", exact=False):
""" Get the properties of the message, returning a generator of
diff --git a/bindings/python/notmuch/version.py b/bindings/python/notmuch/version.py
index fbb282e3..6a513a25 100644
--- a/bindings/python/notmuch/version.py
+++ b/bindings/python/notmuch/version.py
@@ -1,3 +1,3 @@
# this file should be kept in sync with ../../../version
-__VERSION__ = '0.27'
+__VERSION__ = '0.28'
SOVERSION = '5'