Skip to content

Commit 7ac75c5

Browse files
Vetoshkin Nikitamumrah
authored andcommitted
use NotImplementedError instead of NotImplementedError
1 parent 4ccfa5c commit 7ac75c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kafka/partitioner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def partition(self, key, partitions):
2222
may look like an overhead, but it will be useful
2323
(in future) when we handle cases like rebalancing
2424
"""
25-
raise NotImplemented('partition function has to be implemented')
25+
raise NotImplementedError('partition function has to be implemented')
2626

2727

2828
class RoundRobinPartitioner(Partitioner):

0 commit comments

Comments
 (0)