summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanisław Pitucha <stanislaw.pitucha@hp.com>2015-12-07 15:09:43 +1100
committerStanisław Pitucha <stanislaw.pitucha@hp.com>2015-12-07 15:10:21 +1100
commit5561a6fd0fbe8dc7defb8fb1f7432fc460954aa4 (patch)
tree93fcb1e5a0f17a3b4abb1968b7a3cf1512b8b2c9
parent52ccff7cbc26af0738d7a0a7d6e99330421b61d1 (diff)
downloadoslo-messaging-5561a6fd0fbe8dc7defb8fb1f7432fc460954aa4.tar.gz
Fix multiline strings with missing spaces
Change-Id: Ide9999f6bb80f0f87500270a4fc024462bce0dbf
-rw-r--r--oslo_messaging/_drivers/protocols/amqp/driver.py6
-rw-r--r--oslo_messaging/_drivers/zmq_driver/client/publishers/zmq_publisher_base.py2
2 files changed, 4 insertions, 4 deletions
diff --git a/oslo_messaging/_drivers/protocols/amqp/driver.py b/oslo_messaging/_drivers/protocols/amqp/driver.py
index cf1c912..e5a1bd4 100644
--- a/oslo_messaging/_drivers/protocols/amqp/driver.py
+++ b/oslo_messaging/_drivers/protocols/amqp/driver.py
@@ -180,7 +180,7 @@ class ProtonDriver(base.BaseDriver):
"""Send a message to the given target."""
# TODO(kgiusti) need to add support for retry
if retry is not None:
- raise NotImplementedError('"retry" not implemented by'
+ raise NotImplementedError('"retry" not implemented by '
'this transport driver')
request = marshal_request(message, ctxt, envelope)
@@ -210,7 +210,7 @@ class ProtonDriver(base.BaseDriver):
"""Send a notification message to the given target."""
# TODO(kgiusti) need to add support for retry
if retry is not None:
- raise NotImplementedError('"retry" not implemented by'
+ raise NotImplementedError('"retry" not implemented by '
'this transport driver')
return self.send(target, ctxt, message, envelope=(version == 2.0))
@@ -226,7 +226,7 @@ class ProtonDriver(base.BaseDriver):
def listen_for_notifications(self, targets_and_priorities, pool):
LOG.debug("Listen for notifications %s", targets_and_priorities)
if pool:
- raise NotImplementedError('"pool" not implemented by'
+ raise NotImplementedError('"pool" not implemented by '
'this transport driver')
listener = ProtonListener(self)
for target, priority in targets_and_priorities:
diff --git a/oslo_messaging/_drivers/zmq_driver/client/publishers/zmq_publisher_base.py b/oslo_messaging/_drivers/zmq_driver/client/publishers/zmq_publisher_base.py
index 6daf6db..e2f8985 100644
--- a/oslo_messaging/_drivers/zmq_driver/client/publishers/zmq_publisher_base.py
+++ b/oslo_messaging/_drivers/zmq_driver/client/publishers/zmq_publisher_base.py
@@ -90,7 +90,7 @@ class PublisherBase(object):
:param request: Message data and destination container object
:type request: zmq_request.Request
"""
- LOG.debug("Sending %(type)s message_id %(message)s to a target"
+ LOG.debug("Sending %(type)s message_id %(message)s to a target "
"%(target)s"
% {"type": request.msg_type,
"message": request.message_id,