mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
ruff: Fix C414 Unnecessary list call within sorted().
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
69e94b5991
commit
77c15547e6
@@ -358,7 +358,7 @@ def get_team_body(helper: Helper) -> str:
|
||||
new_visibility = payload["team"]["privacy"].tame(check_string)
|
||||
return f"Team visibility changed to `{new_visibility}`"
|
||||
|
||||
missing_keys = "/".join(sorted(list(changes.keys())))
|
||||
missing_keys = "/".join(sorted(changes.keys()))
|
||||
helper.log_unsupported(f"team/edited (changes: {missing_keys})")
|
||||
|
||||
# Do our best to give useful info to the customer--at least
|
||||
|
||||
Reference in New Issue
Block a user