Add missing ws separator between words

This is to add missing ws separator between words, usually
in log messages.

Change-Id: Ifdd09122d38ca67e797a1375f763ed7589dbb20f
This commit is contained in:
zhu.fanglei 2018-11-19 14:09:12 +08:00
parent fd9d93a72c
commit 644f6e2c1d
3 changed files with 5 additions and 4 deletions

View File

@ -217,8 +217,9 @@ def start_shellinabox_console(node_uuid, port, console_cmd):
raise loopingcall.LoopingCallDone()
if (time.time() > expiration):
locals['errstr'] = _("Timeout while waiting for console subprocess"
"to start for node %s.") % node_uuid
locals['errstr'] = (_("Timeout while waiting for console "
"subprocess to start for node %s.") %
node_uuid)
LOG.warning(locals['errstr'])
raise loopingcall.LoopingCallDone()

View File

@ -206,7 +206,7 @@ def remove_image_from_swift(object_name, associated_with=None):
swift_api = swift.SwiftAPI()
swift_api.delete_object(container, object_name)
except exception.SwiftObjectNotFoundError as e:
LOG.info("Temporary object %(associated_with_msg)s"
LOG.info("Temporary object %(associated_with_msg)s "
"was already deleted from Swift. Error: %(err)s",
{'associated_with_msg':
("associated with %s " % associated_with

View File

@ -974,7 +974,7 @@ def _parse_driver_info_snmpv3_crypto(node, info):
'priv_key' not in snmp_info):
raise exception.MissingParameterValue(_(
"SNMPPowerDriver: missing SNMPv3 privacy key while "
"`driver_info/snmp_priv_protocol` is present. Please"
"`driver_info/snmp_priv_protocol` is present. Please "
"add `driver_info/snmp_priv_key` to node %(node)s "
"configuration.") % {'node': node.uuid})