From afaa4d935dd77760492f36dba622f6a01fe14fd9 Mon Sep 17 00:00:00 2001
From: Ayoub BOUSSELMI <ayoub.bousselmi@orange.com>
Date: Wed, 14 Sep 2016 18:12:22 +0200
Subject: [PATCH] Corrects documentation typo

In oslo_messaging/_drivers/impl_rabbit.py, the documentation of
the Consumer class is the following: """Init the Publisher class
with the exchange_name, routing_key, type, durable auto_delete""".
This should be corrected by putting Consumer instead of Publisher.

Closes-Bug: 1623550

Change-Id: I77d09aeb1268ed79590a8b02ab5bf370f3b72caf
---
 oslo_messaging/_drivers/impl_rabbit.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/oslo_messaging/_drivers/impl_rabbit.py b/oslo_messaging/_drivers/impl_rabbit.py
index badff50d5..f33a010c7 100644
--- a/oslo_messaging/_drivers/impl_rabbit.py
+++ b/oslo_messaging/_drivers/impl_rabbit.py
@@ -261,7 +261,7 @@ class Consumer(object):
     def __init__(self, exchange_name, queue_name, routing_key, type, durable,
                  exchange_auto_delete, queue_auto_delete, callback,
                  nowait=False, rabbit_ha_queues=None, rabbit_queue_ttl=0):
-        """Init the Publisher class with the exchange_name, routing_key,
+        """Init the Consumer class with the exchange_name, routing_key,
         type, durable auto_delete
         """
         self.queue_name = queue_name