Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
fetch-contributor-data: Modernize set literal syntax.
Anders Kaseorg7d515ac51083
diff --git a/tools/fetch-contributor-data b/tools/fetch-contributor-dataindex 68abfad0f50..8adc132cfc0 100755--- a/tools/fetch-contributor-data+++ b/tools/fetch-contributor-data@@ -71,14 +71,12 @@ def fetch_contributors(repo_name: str, max_retries: int) -> List[Contributor]:retry = Retry(total=max_retries,backoff_factor=2.0,- status_forcelist=set(- [- 403, # Github does unauth rate-limiting via 403's- 429, # The formal rate-limiting response code- 502, # Bad gateway- 503, # Service unavailable- ]- ),+ status_forcelist={+ 403, # Github does unauth rate-limiting via 403's+ 429, # The formal rate-limiting response code+ 502, # Bad gateway+ 503, # Service unavailable+ },)session = GithubSession(max_retries=retry)while True: