You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by an...@apache.org on 2017/04/02 11:38:57 UTC
[15/16] libcloud git commit: remove pylint from the integration
directory, have py3/2 compatible dict key search
remove pylint from the integration directory, have py3/2 compatible dict key search
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/e807b39d
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/e807b39d
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/e807b39d
Branch: refs/heads/trunk
Commit: e807b39df90c8a02e1b2fbf6abd91a2c5987d708
Parents: 9aee8e7
Author: Anthony Shaw <an...@apache.org>
Authored: Sun Apr 2 20:50:28 2017 +1000
Committer: Anthony Shaw <an...@apache.org>
Committed: Sun Apr 2 20:50:28 2017 +1000
----------------------------------------------------------------------
integration/api/util.py | 2 +-
tox.ini | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/e807b39d/integration/api/util.py
----------------------------------------------------------------------
diff --git a/integration/api/util.py b/integration/api/util.py
index 5b5e1f1..679ff98 100644
--- a/integration/api/util.py
+++ b/integration/api/util.py
@@ -22,7 +22,7 @@ from integration.config import EXPECTED_AUTH
def secure(f):
@wraps(f)
def secure_route(*args, **kwargs):
- if 'Authorization' not in request.headers.keys():
+ if 'Authorization' not in request.headers:
raise Exception('Argghhhh')
else:
auth = request.headers['Authorization']
http://git-wip-us.apache.org/repos/asf/libcloud/blob/e807b39d/tox.ini
----------------------------------------------------------------------
diff --git a/tox.ini b/tox.ini
index 00c76cc..6447b79 100644
--- a/tox.ini
+++ b/tox.ini
@@ -89,7 +89,6 @@ commands = pylint -E --rcfile=./.pylintrc libcloud/common/
pylint -E --rcfile=./.pylintrc libcloud/storage/
pylint -E --rcfile=./.pylintrc libcloud/utils/
pylint -E --rcfile=./.pylintrc demos/
- pylint -E --rcfile=./.pylintrc integration/
pylint -E --rcfile=./.pylintrc contrib/
[testenv:lint]