#5147: revert accidental indentation of header constant for MozillaCookieJar.
diff --git a/Lib/http/cookiejar.py b/Lib/http/cookiejar.py
index 57332c6..7f7f55b 100644
--- a/Lib/http/cookiejar.py
+++ b/Lib/http/cookiejar.py
@@ -1974,9 +1974,9 @@
     """
     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.
 
 """
 
diff --git a/Misc/NEWS b/Misc/NEWS
index 6d63ae9..3d9a4b6 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -15,6 +15,9 @@
 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.