Mercurial > p > roundup > code
diff roundup/cgi/actions.py @ 3549:f6719836e521
allow dispname to be passed to renderWith [SF#1424587]
rename dispname to @dispname to avoid name clashes in the future
force demo.py to have web debugging on (since it can't mail errors)
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Wed, 08 Feb 2006 04:03:54 +0000 |
| parents | 61d48244e7a8 |
| children | d10008f756a4 |
line wrap: on
line diff
--- a/roundup/cgi/actions.py Wed Feb 08 03:47:28 2006 +0000 +++ b/roundup/cgi/actions.py Wed Feb 08 04:03:54 2006 +0000 @@ -1,4 +1,4 @@ -#$Id: actions.py,v 1.57 2006-02-08 03:47:28 richard Exp $ +#$Id: actions.py,v 1.58 2006-02-08 04:03:54 richard Exp $ import re, cgi, StringIO, urllib, Cookie, time, random, csv, codecs @@ -913,7 +913,7 @@ self.client.opendb(self.client.user) # set the session cookie - if self.form.get('remember'): + if self.form.has_key('remember'): self.client.set_cookie(self.client.user, expire=86400*365) else: self.client.set_cookie(self.client.user, expire=None)
