Skip to content

Commit

Permalink
Fix wrong super class in HasParentFilter.
Browse files Browse the repository at this point in the history
  • Loading branch information
Przemek Kaminski committed Jan 15, 2013
1 parent 9db5eb8 commit d02885e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyes/filters.py
Expand Up @@ -463,7 +463,7 @@ class HasParentFilter(Filter):
def __init__(self, type, query, _scope=None, **kwargs):
if not isinstance(query, Query):
raise RuntimeError("HasParentFilter expects a Query")
super(HasChildFilter, self).__init__(**kwargs)
super(HasParentFilter, self).__init__(**kwargs)
self.query = query
self.type = type
self._scope = _scope
Expand Down

0 comments on commit d02885e

Please sign in to comment.