rate_limiter: Fix PIE790 Unnecessary `pass` statement.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2023-10-09 11:15:49 -07:00
parent 4cb2eded68
commit f338c3af07
1 changed files with 0 additions and 1 deletions

View File

@ -589,7 +589,6 @@ def rate_limit_request_by_ip(request: HttpRequest, domain: str) -> None:
# We log a warning so that this endpoint being taken out of # We log a warning so that this endpoint being taken out of
# service doesn't silently remove this functionality. # service doesn't silently remove this functionality.
logger.warning("Failed to fetch TOR exit node list: %s", err) logger.warning("Failed to fetch TOR exit node list: %s", err)
pass
RateLimitedIPAddr(ip_addr, domain=domain).rate_limit_request(request) RateLimitedIPAddr(ip_addr, domain=domain).rate_limit_request(request)