From 3c4fc1c8971dcfbcfa7a08530cc55c00f9b72ce6 Mon Sep 17 00:00:00 2001 From: Max Goodman Date: Wed, 30 Nov 2011 09:44:45 -0800 Subject: [PATCH] Add kwargs to JSONResponse nop catch-all. --- r2/r2/lib/jsonresponse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r2/r2/lib/jsonresponse.py b/r2/r2/lib/jsonresponse.py index f0034830f..0bd8f0ccb 100644 --- a/r2/r2/lib/jsonresponse.py +++ b/r2/r2/lib/jsonresponse.py @@ -60,7 +60,7 @@ class JsonResponse(object): self._clear() self._errors.add((error, None)) - def __call__(self, *a): + def __call__(self, *a, **kw): return self def __getattr__(self, key):