diff roundup/backends/back_anydbm.py @ 1014:8816534e6a1a

Fixed nasty bug that was preventing changes to multilinks going through.
author Richard Jones <richard@users.sourceforge.net>
date Tue, 03 Sep 2002 02:53:53 +0000
parents 1798d2fa9fec
children 56fbe66a27e1
line wrap: on
line diff
--- a/roundup/backends/back_anydbm.py	Tue Sep 03 02:51:46 2002 +0000
+++ b/roundup/backends/back_anydbm.py	Tue Sep 03 02:53:53 2002 +0000
@@ -15,7 +15,7 @@
 # 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
@@ -996,6 +996,10 @@
             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
@@ -1901,6 +1905,15 @@
 
 #
 #$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
 #

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