diff roundup/backends/back_metakit.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 3a028d2f7830
children 80d27b7d6db5
line wrap: on
line diff
--- a/roundup/backends/back_metakit.py	Fri Oct 04 06:34:07 2002 +0000
+++ b/roundup/backends/back_metakit.py	Mon Oct 07 00:52:51 2002 +0000
@@ -738,10 +738,10 @@
         view = self.__getview()
         self.db.commit()
     # ---- end of ping's spec
-    def filter(self, search_matches, filterspec, sort, group):
+    def filter(self, search_matches, filterspec, sort=(None,None),
+            group=(None,None)):
         # search_matches is None or a set (dict of {nodeid: {propname:[nodeid,...]}})
         # filterspec is a dict {propname:value}
-        # sort and group are lists of propnames
         # sort and group are (dir, prop) where dir is '+', '-' or None
         #                    and prop is a prop name or None
 

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