#5147: revert accidental indentation of header constant for MozillaCookieJar.
authorGeorg Brandl <georg@python.org>
Sat, 31 Jul 2010 22:11:11 +0000 (22:11 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 31 Jul 2010 22:11:11 +0000 (22:11 +0000)
Lib/http/cookiejar.py
Misc/NEWS

index 57332c6d7c89bb06adf3336ebc54db38e26a0e7e..7f7f55b13694f9b4ca9d51f9baf571d594967dc9 100644 (file)
@@ -1974,9 +1974,9 @@ class MozillaCookieJar(FileCookieJar):
     """
     magic_re = re.compile("#( Netscape)? HTTP Cookie File")
     header = """\
-    # Netscape HTTP Cookie File
-    # http://www.netscape.com/newsref/std/cookie_spec.html
-    # This is a generated file!  Do not edit.
+# Netscape HTTP Cookie File
+# http://www.netscape.com/newsref/std/cookie_spec.html
+# This is a generated file!  Do not edit.
 
 """
 
index 6d63ae98580c6906a3494c50808af0dbfc70f1e6..3d9a4b6ecd8549182870ce2ea9247e587f72bcae 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -15,6 +15,9 @@ Core and Builtins
 Library
 -------
 
+- Issue #5147: Fix the header generated for cookie files written by
+  http.cookiejar.MozillaCookieJar.
+
 - Issue #8198: In pydoc, output all help text to the correct stream
   when sys.stdout is reassigned.