From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 68CFF6DE025A for ; Sun, 4 Feb 2018 20:20:15 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.007 X-Spam-Level: X-Spam-Status: No, score=-0.007 tagged_above=-999 required=5 tests=[AWL=-0.007] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id icl9Ng9nte6P for ; Sun, 4 Feb 2018 20:20:14 -0800 (PST) Received: from che.mayfirst.org (che.mayfirst.org [162.247.75.118]) by arlo.cworth.org (Postfix) with ESMTPS id 29E3E6DE0247 for ; Sun, 4 Feb 2018 20:20:11 -0800 (PST) Received: from fifthhorseman.net (ool-6c3a0662.static.optonline.net [108.58.6.98]) by che.mayfirst.org (Postfix) with ESMTPSA id AEF0BF9A5 for ; Sun, 4 Feb 2018 23:20:10 -0500 (EST) Received: by fifthhorseman.net (Postfix, from userid 1000) id 84E6A1FEFD; Sun, 4 Feb 2018 23:20:05 -0500 (EST) From: Daniel Kahn Gillmor To: Notmuch Mail Subject: [PATCH 01/11] nmweb: (pylint) use __future__.absolute_import Date: Sun, 4 Feb 2018 23:19:49 -0500 Message-Id: <20180205041959.22066-2-dkg@fifthhorseman.net> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180205041959.22066-1-dkg@fifthhorseman.net> References: <20180205041959.22066-1-dkg@fifthhorseman.net> X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.24 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Feb 2018 04:20:15 -0000 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