Fix two typos (#521)

This commit is contained in:
Matthias K 2017-02-07 19:20:06 +01:00 committed by Andrew Godwin
parent 75f668f9e5
commit b14bbeebe4
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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.
"""