From: Eric Harney Date: Mon, 14 Oct 2013 17:37:25 +0000 (-0400) Subject: Fix indentation errors in drivers X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=25d9de61a46c0c39c85b014ab8e2490a31ddeb1a;p=openstack-build%2Fcinder-build.git Fix indentation errors in drivers Just some pylint fixes. Change-Id: I1f851726a7c8285884121da097be574c447fa39c --- 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.