Don't shadow previous iterator variable
This commit is contained in:
parent
e5b5268f5c
commit
2d7b6268dd
2
db.py
2
db.py
@ -112,7 +112,7 @@ async def store_kafka_batch(data):
|
|||||||
# )
|
# )
|
||||||
log.debug(
|
log.debug(
|
||||||
"Kafka batches sent: "
|
"Kafka batches sent: "
|
||||||
+ ", ".join([topic + ": " + str(len(topicmap[topic])) for topic in topicmap])
|
+ ", ".join([tpc + ": " + str(len(topicmap[tpc])) for tpc in topicmap])
|
||||||
)
|
)
|
||||||
await producer.stop()
|
await producer.stop()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user