Lock pep8 at v1.1
Update offending files to pass pep8 v1.1 and lock our deps on this new version. Change-Id: I5380f213f8e2f62d75f513c8b4496f78fc692dad
This commit is contained in:
parent
9d3fd0598f
commit
a7b8e62556
@ -133,7 +133,7 @@ class KeystoneStrategy(BaseStrategy):
|
||||
# 3. In some configurations nova makes redirection to
|
||||
# v2.0 keystone endpoint. Also, new location does not
|
||||
# contain real endpoint, only hostname and port.
|
||||
if 'v2.0' not in auth_url:
|
||||
if 'v2.0' not in auth_url:
|
||||
auth_url = urlparse.urljoin(auth_url, 'v2.0/')
|
||||
else:
|
||||
# If we sucessfully auth'd, then memorize the correct auth_url
|
||||
|
@ -599,9 +599,9 @@ class BaseClient(object):
|
||||
return (e.errno != errno.ESPIPE)
|
||||
|
||||
def _sendable(self, body):
|
||||
return (SENDFILE_SUPPORTED and
|
||||
return (SENDFILE_SUPPORTED and
|
||||
hasattr(body, 'fileno') and
|
||||
self._seekable(body) and
|
||||
self._seekable(body) and
|
||||
not self.use_ssl)
|
||||
|
||||
def _iterable(self, body):
|
||||
|
@ -10,6 +10,6 @@ nose
|
||||
nose-exclude
|
||||
nosexcover
|
||||
openstack.nose_plugin
|
||||
pep8==0.6.1
|
||||
pep8==1.1
|
||||
sphinx>=1.1.2
|
||||
requests
|
||||
|
Loading…
Reference in New Issue
Block a user