Fixed bug 1091927: Pep8 tests are broken for reddwarf

Change-Id: Ie75981a296d3f48fd637e7d606e8a94df1bc1f49
This commit is contained in:
Nikhil Manchanda 2012-12-18 18:12:42 -08:00
parent f5bc44b31a
commit 9e946727d2
2 changed files with 2 additions and 2 deletions

View File

@ -154,7 +154,7 @@ class Request(openstack_wsgi.Request):
"version=(?P<version_no>\d+\.?\d*)")
match = accept_version_re.search(accept_header)
return match.group("version_no") if match else None
return match.group("version_no") if match else None
@utils.cached_property
def url_version(self):

View File

@ -117,7 +117,7 @@ class FakeServer(object):
@property
def addresses(self):
return {"private": [{"addr":"123.123.123.123"}]}
return {"private": [{"addr": "123.123.123.123"}]}
def confirm_resize(self):
if self.status != "VERIFY_RESIZE":