From 1a239dc11f72838e698acb56990256b75a13aa07 Mon Sep 17 00:00:00 2001 From: Sofia Papagiannaki Date: Mon, 30 Jan 2012 19:02:05 +0200 Subject: [PATCH] ModularBackend change NoQueue method send() to accept any number of arguments --- pithos/backends/modular.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pithos/backends/modular.py b/pithos/backends/modular.py index 65fda5e..d41ded5 100644 --- a/pithos/backends/modular.py +++ b/pithos/backends/modular.py @@ -132,7 +132,7 @@ class ModularBackend(BaseBackend): self.queue = self.queue_module.Queue(**params) else: class NoQueue: - def send(self, key, value): + def send(self, *args): pass self.queue = NoQueue() -- 1.7.10.4