From b14bbeebe4bf5df88f1bde6941b89fba9cf02bbe Mon Sep 17 00:00:00 2001 From: Matthias K Date: Tue, 7 Feb 2017 19:20:06 +0100 Subject: [PATCH] Fix two typos (#521) --- channels/exceptions.py | 2 +- channels/routing.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/channels/exceptions.py b/channels/exceptions.py index 1827629..502358e 100644 --- a/channels/exceptions.py +++ b/channels/exceptions.py @@ -5,7 +5,7 @@ import six class ConsumeLater(Exception): """ Exception that says that the current message should be re-queued back - onto its channel as it's not ready to be consumd yet (e.g. global order + onto its channel as it's not ready to be consumed yet (e.g. global order is being enforced) """ pass diff --git a/channels/routing.py b/channels/routing.py index 11a5afc..8330537 100644 --- a/channels/routing.py +++ b/channels/routing.py @@ -177,7 +177,7 @@ class Route(object): class RouteClass(Route): """ Like Route, but targets a class-based consumer rather than a functional - one, meaning it looks for a (class) method called "channels()" on the + one, meaning it looks for a (class) method called "channel_names()" on the object rather than having a single channel passed in. """