use NotImplementedError instead of NotImplementedError

This commit is contained in:
Vetoshkin Nikita
2013-10-03 18:22:00 +04:00
committed by David Arthur
parent 4ccfa5ce76
commit 7ac75c575c

View File

@@ -22,7 +22,7 @@ class Partitioner(object):
may look like an overhead, but it will be useful
(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):