Skip to content
Myr

double try statement

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by daftshady · committed by daftshady · parent 5fcaf45 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:requests/cookies.py+2 added-2 removed
435 unmodified lines
436 cookiejar = cookiejar_from_dict(437 cookies, cookiejar=cookiejar, overwrite=False)438 elif isinstance(cookies, cookielib.CookieJar):439 try:440 if hasattr(cookiejar, 'update'):440 try:441 cookiejar.update(cookies)442 else:442 except AttributeError:443 raise CookieJarError444 except CookieJarError:445 for cookie_in_jar in cookies:446 cookiejar.set_cookie(cookie_in_jar)
2 unmodified lines