use NotImplementedError instead of NotImplementedError
This commit is contained in:

committed by
David Arthur

parent
4ccfa5ce76
commit
7ac75c575c
@@ -22,7 +22,7 @@ class Partitioner(object):
|
|||||||
may look like an overhead, but it will be useful
|
may look like an overhead, but it will be useful
|
||||||
(in future) when we handle cases like rebalancing
|
(in future) when we handle cases like rebalancing
|
||||||
"""
|
"""
|
||||||
raise NotImplemented('partition function has to be implemented')
|
raise NotImplementedError('partition function has to be implemented')
|
||||||
|
|
||||||
|
|
||||||
class RoundRobinPartitioner(Partitioner):
|
class RoundRobinPartitioner(Partitioner):
|
||||||
|
Reference in New Issue
Block a user