summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a303de5)
raw | patch | inline | side by side (parent: a303de5)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 4 Sep 2002 04:30:18 +0000 (04:30 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 4 Sep 2002 04:30:18 +0000 (04:30 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1057 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/backends/back_anydbm.py | patch | blob | history | |
roundup/backends/back_gadfly.py | patch | blob | history |
index 46c44d1b653ec0baf022f253dc5bad8e0bb04982..cfb2681405f1f1b2e51fcd6bae8d13e8f641f9b2 100644 (file)
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-#$Id: back_anydbm.py,v 1.69 2002-09-03 07:33:01 richard Exp $
+#$Id: back_anydbm.py,v 1.70 2002-09-04 04:29:36 richard Exp $
'''
This module defines a backend that saves the hyperdatabase in a database
chosen by anydbm. It is guaranteed to always be available in python
b_id, bn = b
# sort by group and then sort
for dir, prop in group, sort:
- if dir is None: continue
+ if dir is None or prop is None: continue
# sorting is class-specific
propclass = properties[prop]
#
#$Log: not supported by cvs2svn $
+#Revision 1.69 2002/09/03 07:33:01 richard
+#allow overiding of the index args roundup/cgi/templating.py
+#
#Revision 1.68 2002/09/03 05:46:20 richard
#handle disappearing users for journaltags
#
index 954947ac9c0be09b7fff5ca13ba67452a915d9b8..0ed6e033a6d46c6fbd9de8b9033779f90e9aa09d 100644 (file)
-# $Id: back_gadfly.py,v 1.11 2002-09-03 22:11:50 richard Exp $
+# $Id: back_gadfly.py,v 1.12 2002-09-04 04:30:18 richard Exp $
__doc__ = '''
About Gadfly
============
# figure the order by clause
orderby = []
ordercols = []
- if sort is not None:
+ if sort[0] is not None and sort[1] is not None:
if sort[0] != '-':
orderby.append('_'+sort[1])
ordercols.append(sort[1])
# figure the group by clause
groupby = []
groupcols = []
- if group is not None:
+ if group[0] is not None and group[1] is not None:
if group[0] != '-':
groupby.append('_'+group[1])
groupcols.append(group[1])
#
# $Log: not supported by cvs2svn $
+# Revision 1.11 2002/09/03 22:11:50 richard
+# *** empty log message ***
+#
# Revision 1.10 2002/09/03 06:08:50 richard
# oops
#