(url, headers=None)
| 179 | |
| 180 | |
| 181 | def get(url, headers=None): |
| 182 | r = http.request("GET", url, headers=headers) |
| 183 | if r.status != 200: |
| 184 | raise RuntimeError(f"Failed to download {url}: HTTP {r.status}") |
| 185 | return r.data |
| 186 | |
| 187 | |
| 188 | def resolve_commit_for(repo, branch): |
no test coverage detected