[mod_python] Documentation patch for Cookie example

Jim Gallacher jg.lists at sympatico.ca
Mon Nov 15 17:08:44 EST 2004


Howdy

Attached is a patch for the Cookie example in the documentation. This 
patch is against CVS.

I don't see a bug tracker for mod_python, so I assume bug reports / 
patches go to the list?

Thanks for a great module.

Jim
-------------- next part --------------
--- modpython4.tex.old	2004-11-15 16:30:57.000000000 -0500
+++ modpython4.tex	2004-11-15 16:31:29.000000000 -0500
@@ -1801,7 +1801,7 @@
 
 def handler(req):
     
-    cookies = Cookie.get_cookie(req, Cookie.MarshalCookie,
+    cookies = Cookie.get_cookies(req, Cookie.MarshalCookie,
                                     secret='secret007')
     if cookies.has_key('spam'):
         spamcookie = cookies['spam']


More information about the Mod_python mailing list