Skip to content

Commit

Permalink
chore: silent ruff warning
Browse files Browse the repository at this point in the history
Safer than trying to fix code which has not tests.
  • Loading branch information
nijel committed Feb 20, 2024
1 parent f601f1e commit bf3b519
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion translate/misc/selector.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def __call__(self, environ, start_response):
environ["selector.vars"] = dict(named)
for k in named:
if k.isdigit():
unnamed.append((k, named.pop(k)))
unnamed.append((k, named.pop(k))) # noqa: PERF401
unnamed.sort()
unnamed = [v for k, v in unnamed]
cur_unnamed, cur_named = environ.get("wsgiorg.routing_args", ([], {}))
Expand Down

0 comments on commit bf3b519

Please sign in to comment.