mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Remove duplication.
This commit is contained in:
parent
7a15390f83
commit
1e87da16ea
29 changed files with 33 additions and 33 deletions
|
|
@ -1014,7 +1014,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