aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2005-08-25 07:32:42 +0000
committerGeorg Brandl <georg@python.org>2005-08-25 07:32:42 +0000
commit8246c439a8246093b03e3987d6c1496ebe73b81c (patch)
tree83b3f6764e4e6f4cbad1240db9c3bba27025c472 /Lib/Cookie.py
parentPatch #1160164: Use ReleaseItanium for zlib build. (diff)
downloadcpython-8246c439a8246093b03e3987d6c1496ebe73b81c.tar.gz
cpython-8246c439a8246093b03e3987d6c1496ebe73b81c.tar.bz2
cpython-8246c439a8246093b03e3987d6c1496ebe73b81c.zip
Correct test suite for #848017.
Diffstat (limited to 'Lib/Cookie.py')
-rw-r--r--Lib/Cookie.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/Cookie.py b/Lib/Cookie.py
index fa2e05ec572..20a29418148 100644
--- a/Lib/Cookie.py
+++ b/Lib/Cookie.py
@@ -224,6 +224,7 @@ __all__ = ["CookieError","BaseCookie","SimpleCookie","SerialCookie",
_nulljoin = ''.join
_semispacejoin = '; '.join
+_spacejoin = ' '.join
#
# Define an exception visible to External modules
@@ -594,7 +595,7 @@ class BaseCookie(dict):
items.sort()
for K,V in items:
L.append( '%s=%s' % (K,repr(V.value) ) )
- return '<%s: %s>' % (self.__class__.__name__, _semispacejoin(L))
+ return '<%s: %s>' % (self.__class__.__name__, _spacejoin(L))
def js_output(self, attrs=None):
"""Return a string suitable for JavaScript."""