From 49f3be26daa764ff132782307680316dcaeb57c9 Mon Sep 17 00:00:00 2001 From: Pierre Riteau Date: Fri, 20 Jan 2012 14:22:47 +0100 Subject: [PATCH] Fix undefined variable in Quick overview example NameError: name 'channel' is not defined --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 85e76216..e77acad5 100644 --- a/README.rst +++ b/README.rst @@ -130,7 +130,7 @@ Quick overview # Declare the video queue so that the messages can be delivered. # It is a best practice in Kombu to have both publishers and # consumers declare the queue. - video_queue(channel).declare() + video_queue(conn.channel()).declare() # produce with conn.Producer(exchange=media_exchange,