summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3f1169e)
raw | patch | inline | side by side (parent: 3f1169e)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Tue, 3 Sep 2002 02:53:53 +0000 (02:53 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Tue, 3 Sep 2002 02:53:53 +0000 (02:53 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1031 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/backends/back_anydbm.py | patch | blob | history | |
roundup/backends/back_gadfly.py | patch | blob | history |
index 0f0faa017f947a0af214fa4fcab2f4d5cb7b366e..97d6b893bb5188af14728cc24e4be065c409006d 100644 (file)
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-#$Id: back_anydbm.py,v 1.66 2002-09-01 04:32:30 richard Exp $
+#$Id: back_anydbm.py,v 1.67 2002-09-03 02:53:53 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
else:
return default
+ # return a dupe of the list so code doesn't get confused
+ if isinstance(prop, Multilink):
+ return d[propname][:]
+
return d[propname]
# XXX not in spec
#
#$Log: not supported by cvs2svn $
+#Revision 1.66 2002/09/01 04:32:30 richard
+#. Lots of cleanup in the classic html (stylesheet, search page, index page, ...)
+#. Reinstated searching, but not query saving yet
+#. Filtering only allows sorting and grouping by one property - all backends
+# now implement this behaviour.
+#. Nosy list journalling turned off by default, everything else is on.
+#. Added some convenience methods (reverse, propchanged, [item] accesses, ...)
+#. Did I mention the stylesheet is much cleaner now? :)
+#
#Revision 1.65 2002/08/30 08:35:45 richard
#minor edits
#
index 95b5befbd676548c9bad8542e2b5308a900babd2..0c0e89c51e60acc6c76f30087c8afad236fb54b8 100644 (file)
-# $Id: back_gadfly.py,v 1.7 2002-09-01 04:32:30 richard Exp $
+# $Id: back_gadfly.py,v 1.8 2002-09-03 02:53:53 richard Exp $
__doc__ = '''
About Gadfly
============
else:
return default
+ # don't pass our list to other code
+ if isinstance(prop, Multilink):
+ return d[propname][:]
+
return d[propname]
def getnode(self, nodeid, cache=1):
#
# $Log: not supported by cvs2svn $
+# Revision 1.7 2002/09/01 04:32:30 richard
+# . Lots of cleanup in the classic html (stylesheet, search page, index page, ...)
+# . Reinstated searching, but not query saving yet
+# . Filtering only allows sorting and grouping by one property - all backends
+# now implement this behaviour.
+# . Nosy list journalling turned off by default, everything else is on.
+# . Added some convenience methods (reverse, propchanged, [item] accesses, ...)
+# . Did I mention the stylesheet is much cleaner now? :)
+#
# Revision 1.6 2002/08/30 08:35:16 richard
# very basic filter support
#