Fix indentation for new pycodestyle E117
There was an over indented method in openstackcloud.py#L3099 [1] that the new pycodestyle E117[2] is catching[3]. This patch corrects the indentation to allow pep8/flake8 to pass. [1] https://github.com/openstack/openstacksdk/blob/master/openstack/cloud/ \ openstackcloud.py#L3099 [2] https://github.com/PyCQA/pycodestyle/blob/master/CHANGES.txt#L9 [3] http://logs.openstack.org/56/633856/2/check/openstack-tox-pep8/5c57397/ \ job-output.txt.gz#_2019-01-30_15_27_16_765029 Change-Id: I20fd50195ca6aa6ba67ba15e7ba1155acb18d4eb
This commit is contained in:
parent
6482783ea9
commit
e740da6088
@ -3096,10 +3096,10 @@ class _OpenStackCloudMixin(_normalize.Normalizer):
|
||||
return ""
|
||||
|
||||
def _get_server_console_output(self, server_id, length=None):
|
||||
data = _adapter._json_response(self.compute.post(
|
||||
'/servers/{server_id}/action'.format(server_id=server_id),
|
||||
json={'os-getConsoleOutput': {'length': length}}))
|
||||
return self._get_and_munchify('output', data)
|
||||
data = _adapter._json_response(self.compute.post(
|
||||
'/servers/{server_id}/action'.format(server_id=server_id),
|
||||
json={'os-getConsoleOutput': {'length': length}}))
|
||||
return self._get_and_munchify('output', data)
|
||||
|
||||
def get_server(
|
||||
self, name_or_id=None, filters=None, detailed=False, bare=False,
|
||||
|
Loading…
Reference in New Issue
Block a user