mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
ruff: Fix PERF102 Using only the keys/values of a dict.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
55aa29bef4
commit
c4748298bb
@@ -145,7 +145,7 @@ class Command(compilemessages.Command):
|
||||
|
||||
# frontend stats
|
||||
with open(self.get_json_filename(locale_path, locale), "rb") as reader:
|
||||
for key, value in orjson.loads(reader.read()).items():
|
||||
for value in orjson.loads(reader.read()).values():
|
||||
total += 1
|
||||
if value == "":
|
||||
not_translated += 1
|
||||
|
||||
Reference in New Issue
Block a user