1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-10 17:45:35 +00:00

Enables SIM ruff lint

This commit is contained in:
Jair Henrique
2025-11-19 10:14:34 -03:00
parent ab550d9a7a
commit 93737a0e73
16 changed files with 84 additions and 75 deletions

View File

@@ -74,7 +74,7 @@ def vcr_fetch_impl(cassette, real_fetch_impl):
return callback(response)
def new_callback(response):
headers = [(k, response.headers.get_list(k)) for k in response.headers.keys()]
headers = [(k, response.headers.get_list(k)) for k in response.headers]
vcr_response = {
"status": {"code": response.code, "message": response.reason},