From 44c635574b752dd89871fa1b671c2ecd12912899 Mon Sep 17 00:00:00 2001 From: abhishekkekane Date: Tue, 23 Sep 2014 00:26:56 -0700 Subject: [PATCH] Add required spaces in log messages Added required spaces in between two words for log messages. cinder/volume/drivers/huawei/huawei_t.py validate_connector method. cinder/transfer/api.py accept method. cinder/brick/initiator/linuxscsi.py flush_device_io method. Closes-Bug: #1372788 Change-Id: Ia0ab72d930c1b9099dd2796032b7b2b0b857bad5 --- cinder/brick/initiator/linuxscsi.py | 2 +- cinder/transfer/api.py | 2 +- cinder/volume/drivers/huawei/huawei_t.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cinder/brick/initiator/linuxscsi.py b/cinder/brick/initiator/linuxscsi.py index 54da3111736..a374ce61f70 100644 --- a/cinder/brick/initiator/linuxscsi.py +++ b/cinder/brick/initiator/linuxscsi.py @@ -102,7 +102,7 @@ class LinuxSCSI(executor.Executor): root_helper=self._root_helper) except putils.ProcessExecutionError as exc: msg = _("Failed to flush IO buffers prior to removing" - "device: (%(code)s)") % {'code': exc.exit_code} + " device: (%(code)s)") % {'code': exc.exit_code} LOG.warn(msg) def flush_multipath_device(self, device): diff --git a/cinder/transfer/api.py b/cinder/transfer/api.py index da1c1e26907..6f98101620f 100644 --- a/cinder/transfer/api.py +++ b/cinder/transfer/api.py @@ -185,7 +185,7 @@ class API(base.Base): except Exception: donor_reservations = None LOG.exception(_("Failed to update quota donating volume" - "transfer id %s") % transfer_id) + " transfer id %s") % transfer_id) try: # Transfer ownership of the volume now, must use an elevated diff --git a/cinder/volume/drivers/huawei/huawei_t.py b/cinder/volume/drivers/huawei/huawei_t.py index fd960a55359..fdf8918c0ed 100644 --- a/cinder/volume/drivers/huawei/huawei_t.py +++ b/cinder/volume/drivers/huawei/huawei_t.py @@ -436,7 +436,7 @@ class HuaweiTFCDriver(driver.FibreChannelDriver): """Check for wwpns in connector.""" if 'wwpns' not in connector: err_msg = (_('validate_connector: The FC driver requires the' - 'wwpns in the connector.')) + ' wwpns in the connector.')) LOG.error(err_msg) raise exception.VolumeBackendAPIException(data=err_msg)