Merge "Fix and enable gating on F811"

This commit is contained in:
Jenkins
2013-08-30 21:04:00 +00:00
committed by Gerrit Code Review
2 changed files with 1 additions and 11 deletions

View File

@@ -585,15 +585,6 @@ class HTTPClient(object):
def serialize(self, entity):
return jsonutils.dumps(entity)
@property
def service_catalog(self):
"""Returns this client's service catalog."""
return self.auth_ref.service_catalog
def has_service_catalog(self):
"""Returns True if this client provides a service catalog."""
return self.auth_ref.has_service_catalog()
def request(self, url, method, body=None, **kwargs):
"""Send an http request with the specified characteristics.

View File

@@ -27,9 +27,8 @@ commands = python setup.py testr --coverage --testr-args='{posargs}'
downloadcache = ~/cache/pip
[flake8]
# F811: redefinition of unused 'client' from line 81
# F821: undefined name
# H304: no relative imports
ignore = F811,F821,H304
ignore = F821,H304
show-source = True
exclude = .venv,.tox,dist,doc,*egg,build