Skip to content

Commit

Permalink
Fixed error raised in Filter class for invalid type
Browse files Browse the repository at this point in the history
  • Loading branch information
se7entyse7en committed Sep 23, 2015
1 parent 74435d2 commit e629e8b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pydruid/utils/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def __init__(self, **args):
self.filter = {"filter": {"type": "not",
"field": args["field"]}}
else:
raise NotImplemented(
raise NotImplementedError(
'Filter type: {0} does not exist'.format(args['type']))

def show(self):
Expand Down Expand Up @@ -67,4 +67,3 @@ def __init__(self, dim):

def __eq__(self, other):
return Filter(dimension=self.dimension, value=other)

0 comments on commit e629e8b

Please sign in to comment.