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

aiohttp: Fix code linting

This commit is contained in:
Paulo Romeira
2020-06-04 15:12:42 -03:00
committed by Kevin McCarthy
parent 5362db2ebb
commit 77d838e0fc
2 changed files with 3 additions and 9 deletions

View File

@@ -238,9 +238,7 @@ def vcr_request(cassette, real_request):
request_url = URL(url).with_query(params)
c_header = headers.pop(hdrs.COOKIE, None)
cookie_header = _build_cookie_header(
self, cookies, c_header, request_url
)
cookie_header = _build_cookie_header(self, cookies, c_header, request_url)
if cookie_header:
headers[hdrs.COOKIE] = cookie_header