summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e302ed8)
raw | patch | inline | side by side (parent: e302ed8)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sat, 16 Feb 2002 09:14:17 +0000 (09:14 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sat, 16 Feb 2002 09:14:17 +0000 (09:14 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@636 57a73879-2fb5-44c3-a270-3262357dd7e2
CHANGES.txt | patch | blob | history | |
roundup/backends/back_anydbm.py | patch | blob | history |
diff --git a/CHANGES.txt b/CHANGES.txt
index 411406a25c368eb9b4ba77b5cbfc64e9cdb5ae82..f20f74d587bbab3a63c650c685398b9da936f344 100644 (file)
--- a/CHANGES.txt
+++ b/CHANGES.txt
. #516883 ] mail interface + ANONYMOUS_REGISTER
. #516854 ] "My Issues" and redisplay
. #517906 ] Attribute order in "View customisation"
+ . #514854 ] History: "User" is always ticket creator
2002-01-24 - 0.4.0
index 80603f3cbc43ebbcb5c943a3747f3168c9b72eda..5f30b1ad6cffb3d2511a2d17070c84cdce4a9dd1 100644 (file)
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-#$Id: back_anydbm.py,v 1.27 2002-01-22 07:21:13 richard Exp $
+#$Id: back_anydbm.py,v 1.28 2002-02-16 09:14:17 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
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))
return res
def pack(self, pack_before):
db[nodeid] = marshal.dumps(node)
def _doSaveJournal(self, classname, nodeid, action, params):
- if hyperdb.DEBUG:
- print '_doSaveJournal', (self, classname, nodeid, action, params)
entry = (nodeid, date.Date().get_tuple(), self.journaltag, action,
params)
+ if hyperdb.DEBUG:
+ print '_doSaveJournal', entry
# get the database handle
db_name = 'journals.%s'%classname
#
#$Log: not supported by cvs2svn $
+#Revision 1.27 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.26 2002/01/22 05:18:38 rochecompaan
#last_set_entry was referenced before assignment
#