Don't shadow previous iterator variable

master
Mark Veidemanis 2 years ago
parent e5b5268f5c
commit 2d7b6268dd
Signed by: m
GPG Key ID: 5ACFCEED46C0904F

@ -112,7 +112,7 @@ async def store_kafka_batch(data):
# )
log.debug(
"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()

Loading…
Cancel
Save