Fix weird dictionary creation syntax
diff --git a/buildkite/bazelci.py b/buildkite/bazelci.py
index d911dd4..c082f2b 100755
--- a/buildkite/bazelci.py
+++ b/buildkite/bazelci.py
@@ -1674,12 +1674,13 @@
step["timeout_in_minutes"] = 8 * 60
# Automatically retry when an agent got lost (usually due to an infra flake).
- step["retry"] = {}
- step["retry"]["automatic"] = [
- {"exit_status": -1, "limit": 3}, # Buildkite internal "agent lost" exit code
- {"exit_status": 137, "limit": 3}, # SIGKILL
- {"exit_status": 143, "limit": 3}, # SIGTERM
- ]
+ step["retry"] = {
+ "automatic": [
+ {"exit_status": -1, "limit": 3}, # Buildkite internal "agent lost" exit code
+ {"exit_status": 137, "limit": 3}, # SIGKILL
+ {"exit_status": 143, "limit": 3}, # SIGTERM
+ ]
+ }
return step