diff options
Diffstat (limited to 'kafka')
-rw-r--r-- | kafka/consumer/kafka.py | 2 | ||||
-rw-r--r-- | kafka/consumer/simple.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/kafka/consumer/kafka.py b/kafka/consumer/kafka.py index 2141101..21b2bf6 100644 --- a/kafka/consumer/kafka.py +++ b/kafka/consumer/kafka.py @@ -661,7 +661,7 @@ class KafkaConsumer(object): # Otherwise we should re-raise the upstream exception # b/c it typically includes additional data about # the request that triggered it, and we do not want to drop that - raise + raise # pylint: disable-msg=E0704 (offset, ) = self.get_partition_offsets(topic, partition, request_time_ms, max_num_offsets=1) diff --git a/kafka/consumer/simple.py b/kafka/consumer/simple.py index aad229a..7c63246 100644 --- a/kafka/consumer/simple.py +++ b/kafka/consumer/simple.py @@ -166,7 +166,7 @@ class SimpleConsumer(Consumer): # Otherwise we should re-raise the upstream exception # b/c it typically includes additional data about # the request that triggered it, and we do not want to drop that - raise + raise # pylint: disable-msg=E0704 # send_offset_request log.info('Resetting topic-partition offset to %s for %s:%d', |