[PATCH 09/11] nmweb: explicitly move to python3

Daniel Kahn Gillmor dkg at fifthhorseman.net
Sun Feb 4 20:19:57 PST 2018


---
 contrib/notmuch-web/nmweb.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/contrib/notmuch-web/nmweb.py b/contrib/notmuch-web/nmweb.py
index 31351399..eaeeb507 100755
--- a/contrib/notmuch-web/nmweb.py
+++ b/contrib/notmuch-web/nmweb.py
@@ -1,8 +1,8 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import absolute_import
 
-from urllib import quote_plus
+from urllib.parse import quote_plus
 from datetime import datetime
 from mailbox import MaildirMessage
 import mimetypes
-- 
2.15.1



More information about the notmuch mailing list