X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=bindings%2Fpython%2Fnotmuch%2Fcompat.py;h=c931329e96972237d5f380ba2270a9dcc2d28d56;hb=60ac94fe58635f9c40724afa0f35965fc9ff1afc;hp=adc8d244e4f251a5c5d3edd4cae78d7a80dc695b;hpb=d99f15d7ee38d606a2b3b5bd34f1e6c787b3b8a2;p=notmuch
diff --git a/bindings/python/notmuch/compat.py b/bindings/python/notmuch/compat.py
index adc8d244..c931329e 100644
--- a/bindings/python/notmuch/compat.py
+++ b/bindings/python/notmuch/compat.py
@@ -16,7 +16,7 @@ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
-along with notmuch. If not, see .
+along with notmuch. If not, see .
Copyright 2010 Sebastian Spaeth
Copyright 2012 Justus Winter <4winter@informatik.uni-hamburg.de>
@@ -65,3 +65,7 @@ else:
raise TypeError('Expected str, got %s' % type(value))
return value.encode('utf-8', 'replace')
+
+# We import the SafeConfigParser class on behalf of other code to cope
+# with the differences between Python 2 and 3.
+SafeConfigParser # avoid warning about unused import