From 7ac75c575c446029a706ce922e646f95805c776e Mon Sep 17 00:00:00 2001 From: Vetoshkin Nikita Date: Thu, 3 Oct 2013 18:22:00 +0400 Subject: [PATCH] use NotImplementedError instead of NotImplementedError --- kafka/partitioner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kafka/partitioner.py b/kafka/partitioner.py index 817e416..8190c34 100644 --- a/kafka/partitioner.py +++ b/kafka/partitioner.py @@ -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):