1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-03 00:07:05 +00:00

Fixed SIM118 (in-dict-keys): Use key in dict instead of key in dict.keys()

This commit is contained in:
Teal Dulcet 2025-03-21 04:56:09 -07:00
parent 44ba1e9e9f
commit 6e23d9d223

View File

@ -1033,7 +1033,7 @@ def run_and_output_changes(env, pool):
if op in {"replace", "insert"}:
BufferedOutput(with_lines=cur_lines[j1:j2]).playback(out)
for category in prev_status.keys():
for category in prev_status:
if category not in cur_status:
out.add_heading(category)
out.print_warning("This section was removed.")