mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 02:48:00 +00:00
ruff: Fix PLW0602 Using global but no assignment is done.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
1ac5526023
commit
f7e97b1180
@@ -65,7 +65,6 @@ def remote_cache_stats_start() -> None:
|
||||
def remote_cache_stats_finish() -> None:
|
||||
global remote_cache_total_time
|
||||
global remote_cache_total_requests
|
||||
global remote_cache_time_start
|
||||
remote_cache_total_requests += 1
|
||||
remote_cache_total_time += time.time() - remote_cache_time_start
|
||||
|
||||
|
||||
Reference in New Issue
Block a user