summaryrefslogtreecommitdiff
path: root/flup/resolver/function.py
diff options
context:
space:
mode:
Diffstat (limited to 'flup/resolver/function.py')
-rw-r--r--flup/resolver/function.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/flup/resolver/function.py b/flup/resolver/function.py
index a759926..537caa3 100644
--- a/flup/resolver/function.py
+++ b/flup/resolver/function.py
@@ -39,8 +39,7 @@ class FunctionResolver(Resolver):
Can be used as a decorator and might actually have uses when used with
the ComplexResolver.
"""
- def __init__(self, func, **kw):
- super(FunctionResolver, self).__init__(**kw)
+ def __init__(self, func):
self._func = func
def resolve(self, request, redirect=False):