diff roundup/backends/rdbms_common.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/backends/rdbms_common.py	Fri Oct 04 06:34:07 2002 +0000
+++ b/roundup/backends/rdbms_common.py	Mon Oct 07 00:52:51 2002 +0000
@@ -1,4 +1,4 @@
-# $Id: rdbms_common.py,v 1.20 2002-10-03 06:56:29 richard Exp $
+# $Id: rdbms_common.py,v 1.21 2002-10-07 00:52:51 richard Exp $
 ''' Relational database (SQL) backend common code.
 
 Basics:
@@ -1708,7 +1708,8 @@
         '''
         return self.db.getnodeids(self.classname, retired=0)
 
-    def filter(self, search_matches, filterspec, sort, group):
+    def filter(self, search_matches, filterspec, sort=(None,None),
+            group=(None,None)):
         ''' Return a list of the ids of the active nodes in this class that
             match the 'filter' spec, sorted by the group spec and then the
             sort spec

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