summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2005-06-26 21:02:49 (GMT)
committerGeorg Brandl <georg@python.org>2005-06-26 21:02:49 (GMT)
commit03a33ea3a85f9f2ed158f678295b7605f2f9721a (patch)
treeb242332ec9de0fcebf681bddfa15a4a4bd33a8b5 /Lib
parent7e7688c2ec409c3eb5e441a01d0fa3f13481b54f (diff)
downloadcpython-03a33ea3a85f9f2ed158f678295b7605f2f9721a.zip
cpython-03a33ea3a85f9f2ed158f678295b7605f2f9721a.tar.gz
cpython-03a33ea3a85f9f2ed158f678295b7605f2f9721a.tar.bz2
bug [ 1108948 ] Cookie.py produces invalid code
Diffstat (limited to 'Lib')
-rw-r--r--Lib/Cookie.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/Cookie.py b/Lib/Cookie.py
index a6ca654..4661d7c 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), )