Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 87a1564

Browse files
committed
#5147: revert accidental indentation of header constant for MozillaCookieJar.
1 parent 241bdab commit 87a1564

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

Lib/http/cookiejar.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1974,9 +1974,9 @@ class MozillaCookieJar(FileCookieJar):
19741974
"""
19751975
magic_re = re.compile("#( Netscape)? HTTP Cookie File")
19761976
header = """\
1977-
# Netscape HTTP Cookie File
1978-
# http://www.netscape.com/newsref/std/cookie_spec.html
1979-
# This is a generated file! Do not edit.
1977+
# Netscape HTTP Cookie File
1978+
# http://www.netscape.com/newsref/std/cookie_spec.html
1979+
# This is a generated file! Do not edit.
19801980
19811981
"""
19821982

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ Core and Builtins
1515
Library
1616
-------
1717

18+
- Issue #5147: Fix the header generated for cookie files written by
19+
http.cookiejar.MozillaCookieJar.
20+
1821
- Issue #8198: In pydoc, output all help text to the correct stream
1922
when sys.stdout is reassigned.
2023

0 commit comments

Comments
 (0)