[PATCH 05/11] nmweb: (pylint) import built-in modules before third-party modules
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Sun Feb 4 20:19:53 PST 2018
---
contrib/notmuch-web/nmweb.py | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/contrib/notmuch-web/nmweb.py b/contrib/notmuch-web/nmweb.py
index bee4896e..6c687554 100755
--- a/contrib/notmuch-web/nmweb.py
+++ b/contrib/notmuch-web/nmweb.py
@@ -2,15 +2,16 @@
from __future__ import absolute_import
-import web
-from notmuch import Database, Query, Message
import urllib
from datetime import datetime
from mailbox import MaildirMessage
-import os
import mimetypes
import email
import re
+import os
+
+import web
+from notmuch import Database, Query, Message
from jinja2 import Environment, FileSystemLoader # FIXME to PackageLoader
from jinja2 import Markup
--
2.15.1
More information about the notmuch
mailing list