diff --git a/oslo_messaging/_drivers/impl_rabbit.py b/oslo_messaging/_drivers/impl_rabbit.py index faa49aa53..5939d0682 100644 --- a/oslo_messaging/_drivers/impl_rabbit.py +++ b/oslo_messaging/_drivers/impl_rabbit.py @@ -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: diff --git a/oslo_messaging/_drivers/pika_driver/pika_commons.py b/oslo_messaging/_drivers/pika_driver/pika_commons.py index a076f40ad..df004a8f9 100644 --- a/oslo_messaging/_drivers/pika_driver/pika_commons.py +++ b/oslo_messaging/_drivers/pika_driver/pika_commons.py @@ -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: diff --git a/oslo_messaging/_drivers/pika_driver/pika_listener.py b/oslo_messaging/_drivers/pika_driver/pika_listener.py index a58e54236..a2dd40d35 100644 --- a/oslo_messaging/_drivers/pika_driver/pika_listener.py +++ b/oslo_messaging/_drivers/pika_driver/pika_listener.py @@ -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 diff --git a/oslo_messaging/_drivers/zmq_driver/zmq_poller.py b/oslo_messaging/_drivers/zmq_driver/zmq_poller.py index cfe249574..dccdc0cfa 100644 --- a/oslo_messaging/_drivers/zmq_driver/zmq_poller.py +++ b/oslo_messaging/_drivers/zmq_driver/zmq_poller.py @@ -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. """