diff --git a/roundup/hyperdb.py b/roundup/hyperdb.py
index a9bb9e1550c5d35a3556280089158309aec371db..0ed036060d468d1a4fbd1336fb6db4c942cae431 100644 (file)
--- a/roundup/hyperdb.py
+++ b/roundup/hyperdb.py
'date' is a Timestamp object specifying the time of the change and
'tag' is the journaltag specified when the database was opened.
"""
- raise NotImplementedError
+ if not self.do_journal:
+ raise ValueError('Journalling is disabled for this class')
+ return self.db.getjournal(self.classname, nodeid)
# Locating nodes:
def hasnode(self, nodeid):
elif isinstance(prop, Interval):
value = date.Interval(value)
elif isinstance(prop, Password):
- value = password.Password(encrypted=value)
+ value = password.JournalPassword(encrypted=value)
params[propname] = value
elif action == 'create' and params:
# old tracker with data stored in the create!