diff options
author | Georg Brandl <georg@python.org> | 2005-06-26 21:02:49 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2005-06-26 21:02:49 (GMT) |
commit | 03a33ea3a85f9f2ed158f678295b7605f2f9721a (patch) | |
tree | b242332ec9de0fcebf681bddfa15a4a4bd33a8b5 /Lib | |
parent | 7e7688c2ec409c3eb5e441a01d0fa3f13481b54f (diff) | |
download | cpython-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.py | 4 |
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), ) |