diff roundup/cgi/client.py @ 1249:6c24a86a12ae

Fixes for SourceForge tracker bugs. - fixed filter() with no sort/group [SF#618614] - fixed register with no session [SF#618611] - fixed log / pid file path handling in roundup-server [SF#617981] - fixed old gadfly compatibiltiy problem, for sure this time [SF#612873]
author Richard Jones <richard@users.sourceforge.net>
date Mon, 07 Oct 2002 00:52:51 +0000
parents 8dd4f736370b
children 209a47ede743
line wrap: on
line diff
--- a/roundup/cgi/client.py	Fri Oct 04 06:34:07 2002 +0000
+++ b/roundup/cgi/client.py	Mon Oct 07 00:52:51 2002 +0000
@@ -1,4 +1,4 @@
-# $Id: client.py,v 1.49 2002-10-03 06:56:29 richard Exp $
+# $Id: client.py,v 1.50 2002-10-07 00:52:51 richard Exp $
 
 __doc__ = """
 WWW request handler (also used in the stand-alone server).
@@ -603,8 +603,8 @@
         # re-open the database for real, using the user
         self.opendb(self.user)
 
-        # update the user's session
-        if self.session:
+        # if we have a session, update it
+        if hasattr(self, 'session'):
             self.db.sessions.set(self.session, user=self.user,
                 last_use=time.time())
         else:

Roundup Issue Tracker: http://roundup-tracker.org/