pylint --py3k suggests always including this in code that might run in
either python2 or python3.  it selects the python3 default.  (see
"pylint --help-msg=no-absolute-import" for more details)
---
 contrib/notmuch-web/nmweb.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/contrib/notmuch-web/nmweb.py b/contrib/notmuch-web/nmweb.py
index add0d631..c6d437c5 100755
--- a/contrib/notmuch-web/nmweb.py
+++ b/contrib/notmuch-web/nmweb.py
@@ -1,5 +1,7 @@
 #!/usr/bin/env python
 
+from __future__ import absolute_import
+
 import web
 from notmuch import Database,Query,Message
 import urllib
-- 
2.15.1

_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Reply via email to