diff options
author | Dana Powers <dana.powers@rd.io> | 2014-08-25 10:15:16 -0700 |
---|---|---|
committer | Dana Powers <dana.powers@rd.io> | 2014-08-25 12:54:54 -0700 |
commit | e151529078d53deca6254dee5b80e41e01226a7f (patch) | |
tree | 488ff0fb3a2ed26f52aa9f4b471ff3ff7060a938 /kafka/client.py | |
parent | d73d1690b16ea86a9fd51056f4d149f54a4dd8f0 (diff) | |
download | kafka-python-e151529078d53deca6254dee5b80e41e01226a7f.tar.gz |
Add pylint to tox.ini; test both kafka and test; default to error-checking only; fixup errors; skip kafka/queue.py
Diffstat (limited to 'kafka/client.py')
-rw-r--r-- | kafka/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |