From e151529078d53deca6254dee5b80e41e01226a7f Mon Sep 17 00:00:00 2001 From: Dana Powers Date: Mon, 25 Aug 2014 10:15:16 -0700 Subject: Add pylint to tox.ini; test both kafka and test; default to error-checking only; fixup errors; skip kafka/queue.py --- kafka/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kafka/client.py') diff --git a/kafka/client.py b/kafka/client.py index 9474091..8630f66 100644 --- a/kafka/client.py +++ b/kafka/client.py @@ -187,7 +187,7 @@ class KafkaClient(object): def _raise_on_response_error(self, resp): try: kafka.common.check_error(resp) - except (UnknownTopicOrPartitionError, NotLeaderForPartitionError) as e: + except (UnknownTopicOrPartitionError, NotLeaderForPartitionError): self.reset_topic_metadata(resp.topic) raise -- cgit v1.2.1