From 5b363d1a57780fe339d66e85fd0cde8f22ae9629 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Mon, 29 May 2017 22:54:23 -0400 Subject: [PATCH] improve line continuations for flake8 --- requests/cookies.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/requests/cookies.py b/requests/cookies.py index 6484af6b..ab3c88b9 100644 --- a/requests/cookies.py +++ b/requests/cookies.py @@ -306,8 +306,10 @@ class RequestsCookieJar(cookielib.CookieJar, collections.MutableMapping): """ dictionary = {} for cookie in iter(self): - if (domain is None or cookie.domain == domain) and (path is None - or cookie.path == path): + if ( + (domain is None or cookie.domain == domain) and + (path is None or cookie.path == path) + ): dictionary[cookie.name] = cookie.value return dictionary