mirror of https://github.com/celery/kombu.git
redis: _put must take kwargs
This commit is contained in:
parent
93b16d9c5d
commit
1372e68d17
|
@ -11,7 +11,6 @@ DEFAULT_DB = 0
|
||||||
|
|
||||||
|
|
||||||
class Channel(virtual.Channel):
|
class Channel(virtual.Channel):
|
||||||
queues = {}
|
|
||||||
_client = None
|
_client = None
|
||||||
|
|
||||||
def _new_queue(self, queue, **kwargs):
|
def _new_queue(self, queue, **kwargs):
|
||||||
|
@ -33,7 +32,7 @@ class Channel(virtual.Channel):
|
||||||
return deserialize(item), dest
|
return deserialize(item), dest
|
||||||
raise Empty()
|
raise Empty()
|
||||||
|
|
||||||
def _put(self, queue, message):
|
def _put(self, queue, message, **kwargs):
|
||||||
self.client.lpush(queue, serialize(message))
|
self.client.lpush(queue, serialize(message))
|
||||||
|
|
||||||
def _purge(self, queue):
|
def _purge(self, queue):
|
||||||
|
|
Loading…
Reference in New Issue