mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
ruff: Fix SIM118 Use key in dict instead of key in dict.keys().
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
a6442288cf
commit
e1ed44907b
@@ -53,7 +53,7 @@ for line in output.split("\n"):
|
||||
|
||||
now = int(time.time())
|
||||
|
||||
for queue_name in consumers.keys():
|
||||
for queue_name in consumers:
|
||||
state_file_path = "/var/lib/nagios_state/check-rabbitmq-consumers-" + queue_name
|
||||
state_file_tmp = state_file_path + "-tmp"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user