Fix typos in Oslo.messaging files

TrivialFix

Change-Id: If093e39ce8b163a541dd835ceb1ac0b3ab89e5a1
This commit is contained in:
Nguyen Hung Phuong 2016-03-29 10:59:12 +07:00
parent b60af2315b
commit 3728ccc831
4 changed files with 5 additions and 5 deletions

View File

@ -351,7 +351,7 @@ class ConnectionLock(DummyConnectionLock):
starvation when the driver sends a lot of messages.
So when lock.heartbeat_acquire() is called next time the lock
is released(), the caller unconditionnaly acquires
is released(), the caller unconditionally acquires
the lock, even someone else have asked for the lock before it.
"""
@ -916,7 +916,7 @@ class Connection(object):
# NOTE(sileht): We need to drain event to receive
# heartbeat from the broker but don't hold the
# connection too much times. In amqpdriver a connection
# is used exclusivly for read or for write, so we have
# is used exclusively for read or for write, so we have
# to do this for connection used for write drain_events
# already do that for other connection
try:

View File

@ -35,7 +35,7 @@ def is_eventlet_monkey_patched(module):
"""Determines safely is eventlet patching for module enabled or not
:param module: String, module name
:return Bool, True if module is pathed, False otherwise
:return Bool, True if module is patched, False otherwise
"""
if 'eventlet.patcher' not in sys.modules:

View File

@ -49,7 +49,7 @@ class RpcReplyPikaListener(object):
:param expiration_time: Float, expiration time in seconds
(like time.time()),
:return: String, queue name which hould be used for reply sending
:return: String, queue name which should be used for reply sending
"""
if self._reply_consumer_initialized:
return self._reply_queue

View File

@ -83,7 +83,7 @@ class ZmqPoller(object):
"""Resume with polling
Some implementations of poller may provide hold polling before reply
This method is intended to excplicitly resume polling aftewards.
This method is intended to explicitly resume polling afterwards.
"""