summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e4c8979)
raw | patch | inline | side by side (parent: e4c8979)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sat, 16 Feb 2002 09:15:33 +0000 (09:15 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sat, 16 Feb 2002 09:15:33 +0000 (09:15 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@637 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/backends/back_bsddb.py | patch | blob | history |
index 61ed0619e1cb522ea95fa92eb688c7ade6ed4fae..b30dacb00c407169ae8362b360c3658189f22b9d 100644 (file)
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-#$Id: back_bsddb.py,v 1.14 2002-01-22 07:21:13 richard Exp $
+#$Id: back_bsddb.py,v 1.15 2002-02-16 09:15:33 richard Exp $
'''
This module defines a backend that saves the hyperdatabase in BSDDB.
'''
journal = marshal.loads(db[nodeid])
res = []
for entry in journal:
- (nodeid, date_stamp, self.journaltag, action, params) = entry
+ (nodeid, date_stamp, user, action, params) = entry
date_obj = date.Date(date_stamp)
- res.append((nodeid, date_obj, self.journaltag, action, params))
+ res.append((nodeid, date_obj, user, action, params))
db.close()
return res
#
#$Log: not supported by cvs2svn $
+#Revision 1.14 2002/01/22 07:21:13 richard
+#. fixed back_bsddb so it passed the journal tests
+#
+#... it didn't seem happy using the back_anydbm _open method, which is odd.
+#Yet another occurrance of whichdb not being able to recognise older bsddb
+#databases. Yadda yadda. Made the HYPERDBDEBUG stuff more sane in the
+#process.
+#
#Revision 1.13 2001/12/10 22:20:01 richard
#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