summaryrefslogtreecommitdiff
path: root/kafka/admin/client.py
diff options
context:
space:
mode:
authorJeff Widman <jeff@jeffwidman.com>2019-05-17 12:36:56 -0700
committerGitHub <noreply@github.com>2019-05-17 12:36:56 -0700
commitf854791b1888dad633c78dfeadd0ea7ebcca1e8f (patch)
tree879e4d070cb9a1568b6aa712e59ede0ea1b33692 /kafka/admin/client.py
parentf6a8a38937688ea2cc5dc13d3d1039493be5c9b5 (diff)
downloadkafka-python-f854791b1888dad633c78dfeadd0ea7ebcca1e8f.tar.gz
A little python cleanup (#1805)
1. Remove unused variable: `partitions_for_topic` 2. No need to cast to list as `sorted()` already returns a list 3. Using `enumerate()` is cleaner than `range(len())` and handles assigning `member`
Diffstat (limited to 'kafka/admin/client.py')
0 files changed, 0 insertions, 0 deletions