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

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

Date: Sun, 4 Feb 2018 23:19:57 -0500

To: Notmuch Mail

Cc:

From: Daniel Kahn Gillmor


---
 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

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

Thread: