Mercurial > p > roundup > code
diff roundup/cgi/client.py @ 3606:04dc3eef67b7
reduced frequency of session timestamp update
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 27 Apr 2006 04:03:11 +0000 |
| parents | 91c759d9271d |
| children | ed76f7ee34c4 |
line wrap: on
line diff
--- a/roundup/cgi/client.py Thu Apr 27 03:48:41 2006 +0000 +++ b/roundup/cgi/client.py Thu Apr 27 04:03:11 2006 +0000 @@ -1,4 +1,4 @@ -# $Id: client.py,v 1.224 2006-04-27 03:48:41 richard Exp $ +# $Id: client.py,v 1.225 2006-04-27 04:03:11 richard Exp $ """WWW request handler (also used in the stand-alone server). """ @@ -466,8 +466,8 @@ try: # update the lifetime datestamp sessions.updateTimestamp(self.session) + self.db.commit() user = sessions.get(self.session, 'user') - self.db.commit() except KeyError: # not valid, ignore id pass
