]> git.cworth.org Git - notmuch/commit - bindings/python/notmuch/message.py
python: fix get_property error when property doesn't exist
authorVincent A <dev@indigo.re>
Sun, 27 Jan 2019 08:40:17 +0000 (09:40 +0100)
committerDavid Bremner <david@tethera.net>
Thu, 21 Feb 2019 11:17:18 +0000 (07:17 -0400)
commit872bd134e3ba860236661a202965a3d7447e7af7
tree4674af1b2113513deec0cabc48d9d53f1943c0f4
parentadde6dfaef9348a6ea5e1fe3651e85dacff775b7
python: fix get_property error when property doesn't exist

In Python bindings, Message.get_property fails with an AttributeError when trying to fetch a property that doesn't exist.

From d712832ba982085975c27b23bb502af82e638b39 Mon Sep 17 00:00:00 2001
From: hydrargyrum <dev@indigo.re>
Date: Sun, 6 Jan 2019 16:08:55 +0100
Subject: [PATCH] python: fix get_property error when property doesn't exist
bindings/python/notmuch/message.py