From 25d9de61a46c0c39c85b014ab8e2490a31ddeb1a Mon Sep 17 00:00:00 2001 From: Eric Harney Date: Mon, 14 Oct 2013 13:37:25 -0400 Subject: [PATCH] Fix indentation errors in drivers Just some pylint fixes. Change-Id: I1f851726a7c8285884121da097be574c447fa39c --- cinder/volume/drivers/eqlx.py | 4 ++-- cinder/volume/drivers/solidfire.py | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/cinder/volume/drivers/eqlx.py b/cinder/volume/drivers/eqlx.py index 27ce6842b..74d952c5b 100644 --- a/cinder/volume/drivers/eqlx.py +++ b/cinder/volume/drivers/eqlx.py @@ -215,8 +215,8 @@ class DellEQLSanISCSIDriver(SanISCSIDriver): LOG.error(_("Error running SSH command: %s") % command) def _eql_execute(self, *args, **kwargs): - return self._run_ssh( - args, attempts=self.configuration.eqlx_cli_max_retries) + return self._run_ssh( + args, attempts=self.configuration.eqlx_cli_max_retries) def _get_volume_data(self, lines): prefix = 'iSCSI target name is ' diff --git a/cinder/volume/drivers/solidfire.py b/cinder/volume/drivers/solidfire.py index cbe09c11b..c82a01fdb 100644 --- a/cinder/volume/drivers/solidfire.py +++ b/cinder/volume/drivers/solidfire.py @@ -90,12 +90,12 @@ class SolidFireDriver(SanISCSIDriver): GB = math.pow(2, 30) def __init__(self, *args, **kwargs): - super(SolidFireDriver, self).__init__(*args, **kwargs) - self.configuration.append_config_values(sf_opts) - try: - self._update_cluster_status() - except exception.SolidFireAPIException: - pass + super(SolidFireDriver, self).__init__(*args, **kwargs) + self.configuration.append_config_values(sf_opts) + try: + self._update_cluster_status() + except exception.SolidFireAPIException: + pass def _issue_api_request(self, method_name, params, version='1.0'): """All API requests to SolidFire device go through this method. -- 2.45.2