]> git.notmuchmail.org Git - notmuch/blobdiff - bindings/python/notmuch/compat.py
python: cleanup imports
[notmuch] / bindings / python / notmuch / compat.py
index adc8d244e4f251a5c5d3edd4cae78d7a80dc695b..daa268c12cfb2de49a796d2f70c074498c220ff8 100644 (file)
@@ -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