Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
rate_limiter: Fix PIE790 Unnecessary `pass` statement.
Anders Kaseorgf338c3af0788
diff --git a/zerver/lib/rate_limiter.py b/zerver/lib/rate_limiter.pyindex 338d07ea5a9..d7977cd3a1a 100644--- a/zerver/lib/rate_limiter.py+++ b/zerver/lib/rate_limiter.py@@ -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# service doesn't silently remove this functionality.logger.warning("Failed to fetch TOR exit node list: %s", err)- passRateLimitedIPAddr(ip_addr, domain=domain).rate_limit_request(request)