mirror of
https://github.com/python/cpython.git
synced 2025-12-09 18:48:05 +00:00
Remove duplication.
This commit is contained in:
parent
a5a9a9c369
commit
e130a52d8a
36 changed files with 43 additions and 43 deletions
|
|
@ -1020,7 +1020,7 @@ class DefaultCookiePolicy(CookiePolicy):
|
|||
(not erhn.startswith(".") and
|
||||
not ("."+erhn).endswith(domain))):
|
||||
_debug(" effective request-host %s (even with added "
|
||||
"initial dot) does not end end with %s",
|
||||
"initial dot) does not end with %s",
|
||||
erhn, domain)
|
||||
return False
|
||||
if (cookie.version > 0 or
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue