diff options
author | Jeff Widman <jeff@jeffwidman.com> | 2019-05-17 12:36:56 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-17 12:36:56 -0700 |
commit | f854791b1888dad633c78dfeadd0ea7ebcca1e8f (patch) | |
tree | 879e4d070cb9a1568b6aa712e59ede0ea1b33692 /kafka/admin/client.py | |
parent | f6a8a38937688ea2cc5dc13d3d1039493be5c9b5 (diff) | |
download | kafka-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