[Python-checkins] r83373 - in python/branches/py3k: Lib/http/cookiejar.py Misc/NEWS

georg.brandl python-checkins at python.org
Sun Aug 1 00:11:11 CEST 2010


Author: georg.brandl
Date: Sun Aug  1 00:11:11 2010
New Revision: 83373

Log:
#5147: revert accidental indentation of header constant for MozillaCookieJar.

Modified:
   python/branches/py3k/Lib/http/cookiejar.py
   python/branches/py3k/Misc/NEWS

Modified: python/branches/py3k/Lib/http/cookiejar.py
==============================================================================
--- python/branches/py3k/Lib/http/cookiejar.py	(original)
+++ python/branches/py3k/Lib/http/cookiejar.py	Sun Aug  1 00:11:11 2010
@@ -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.
 
 """
 

Modified: python/branches/py3k/Misc/NEWS
==============================================================================
--- python/branches/py3k/Misc/NEWS	(original)
+++ python/branches/py3k/Misc/NEWS	Sun Aug  1 00:11:11 2010
@@ -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.
 


More information about the Python-checkins mailing list