summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-02-02 01:14:36 +0000
committerGerrit Code Review <review@openstack.org>2015-02-02 01:14:36 +0000
commite458873b92358ba0a6e594287271bc36675c2aab (patch)
tree57bc17866332a4120f8e65988ca88f7fffcf5bb5
parent5fe74a79e37d68f160c900295a804ba4c3850f04 (diff)
parent97d51bd8326af52fd197754f24a866a0d28df122 (diff)
downloadpython-keystoneclient-e458873b92358ba0a6e594287271bc36675c2aab.tar.gz
Merge "Correct failures for check H238"
-rw-r--r--keystoneclient/common/cms.py2
-rw-r--r--keystoneclient/middleware/auth_token.py2
-rw-r--r--tox.ini3
3 files changed, 3 insertions, 4 deletions
diff --git a/keystoneclient/common/cms.py b/keystoneclient/common/cms.py
index 19390f2..c5faf96 100644
--- a/keystoneclient/common/cms.py
+++ b/keystoneclient/common/cms.py
@@ -42,7 +42,7 @@ PKI_ASN1_FORM = 'PEM'
# The openssl cms command exits with these status codes.
# See https://www.openssl.org/docs/apps/cms.html#EXIT_CODES
-class OpensslCmsExitStatus:
+class OpensslCmsExitStatus(object):
SUCCESS = 0
INPUT_FILE_READ_ERROR = 2
CREATE_CMS_READ_MIME_ERROR = 3
diff --git a/keystoneclient/middleware/auth_token.py b/keystoneclient/middleware/auth_token.py
index 43a7ea5..c8d1b08 100644
--- a/keystoneclient/middleware/auth_token.py
+++ b/keystoneclient/middleware/auth_token.py
@@ -342,7 +342,7 @@ LIST_OF_VERSIONS_TO_ATTEMPT = ['v2.0', 'v3.0']
CACHE_KEY_TEMPLATE = 'tokens/%s'
-class BIND_MODE:
+class BIND_MODE(object):
DISABLED = 'disabled'
PERMISSIVE = 'permissive'
STRICT = 'strict'
diff --git a/tox.ini b/tox.ini
index 49586a5..a050f6e 100644
--- a/tox.ini
+++ b/tox.ini
@@ -34,8 +34,7 @@ commands = oslo_debug_helper -t keystoneclient/tests {posargs}
# H304: no relative imports
# H405: multi line docstring summary not separated with an empty line
# E122: continuation line missing indentation or outdented
-# New from hacking 0.10: H238
-ignore = H238,H304,H405,E122
+ignore = H304,H405,E122
show-source = True
exclude = .venv,.tox,dist,doc,*egg,build,*openstack/common*