Skip to content

Commit

Permalink
calling getargspec wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
heywbj committed Feb 23, 2015
1 parent 8d3a0e9 commit db0b4aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rest_framework_recursive/fields.py
Expand Up @@ -58,7 +58,7 @@ def __init__(self, to=None, **kwargs):
super_kwargs = dict(
(key, kwargs[key])
for key in kwargs
if key in inspect.getargspec(Field.__init__)
if key in inspect.getargspec(Field.__init__).args
)
super(RecursiveField, self).__init__(**super_kwargs)

Expand Down

0 comments on commit db0b4aa

Please sign in to comment.