aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2005-06-26 21:02:49 +0000
committerGeorg Brandl <georg@python.org>2005-06-26 21:02:49 +0000
commit03a33ea3a85f9f2ed158f678295b7605f2f9721a (patch)
treeb242332ec9de0fcebf681bddfa15a4a4bd33a8b5 /Lib/Cookie.py
parentbug [ 1072853 ] thisid not intialized in pindent.py script (diff)
downloadcpython-03a33ea3a85f9f2ed158f678295b7605f2f9721a.tar.gz
cpython-03a33ea3a85f9f2ed158f678295b7605f2f9721a.tar.bz2
cpython-03a33ea3a85f9f2ed158f678295b7605f2f9721a.zip
bug [ 1108948 ] Cookie.py produces invalid code
Diffstat (limited to 'Lib/Cookie.py')
-rw-r--r--Lib/Cookie.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/Cookie.py b/Lib/Cookie.py
index a6ca6545b7d..4661d7c3ffa 100644
--- a/Lib/Cookie.py
+++ b/Lib/Cookie.py
@@ -470,9 +470,9 @@ class Morsel(dict):
def js_output(self, attrs=None):
# Print javascript
return """
- <SCRIPT LANGUAGE="JavaScript">
+ <script type="text/javascript">
<!-- begin hiding
- document.cookie = \"%s\"
+ document.cookie = \"%s\";
// end hiding -->
</script>
""" % ( self.OutputString(attrs), )