diff roundup/roundupdb.py @ 440:de5bf4191f11

Enabled transaction support in the bsddb backend. It uses the anydbm code where possible, only replacing methods where the db is opened (it uses the btree opener specifically.) Also cleaned up some change note generation. Made the backends package work with pydoc too.
author Richard Jones <richard@users.sourceforge.net>
date Mon, 10 Dec 2001 22:20:01 +0000
parents 6e27cb83aacb
children 52b5f53d12f3
line wrap: on
line diff
--- a/roundup/roundupdb.py	Mon Dec 10 21:02:53 2001 +0000
+++ b/roundup/roundupdb.py	Mon Dec 10 22:20:01 2001 +0000
@@ -15,7 +15,7 @@
 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 # 
-# $Id: roundupdb.py,v 1.27 2001-12-10 21:02:53 richard Exp $
+# $Id: roundupdb.py,v 1.28 2001-12-10 22:20:01 richard Exp $
 
 __doc__ = """
 Extending hyperdb with types specific to issue-tracking.
@@ -439,6 +439,7 @@
                 changed[key] = new_value
 
         # list the changes
+        m = []
         for propname, value in changed.items():
             prop = cl.properties[propname]
             oldvalue = cl.get(nodeid, propname, None)
@@ -490,6 +491,9 @@
 
 #
 # $Log: not supported by cvs2svn $
+# Revision 1.27  2001/12/10 21:02:53  richard
+# only insert the -------- change note marker if there is a change note
+#
 # Revision 1.26  2001/12/05 14:26:44  rochecompaan
 # Removed generation of change note from "sendmessage" in roundupdb.py.
 # The change note is now generated when the message is created.

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