summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 30971d8)
raw | patch | inline | side by side (parent: 30971d8)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 10 Jul 2002 06:30:30 +0000 (06:30 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 10 Jul 2002 06:30:30 +0000 (06:30 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@857 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/backends/back_anydbm.py | patch | blob | history |
index 681dfbd0b33cbae6225c13fd188884e070cca304..4e1ee10f0642763492c2fb62f801d2fd948f0f79 100644 (file)
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-#$Id: back_anydbm.py,v 1.42 2002-07-10 06:21:38 richard Exp $
+#$Id: back_anydbm.py,v 1.43 2002-07-10 06:30:30 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
try:
journal = marshal.loads(db[nodeid])
except KeyError:
- raise KeyError, 'no such %s %s'%(classname, nodeid)
- finally:
db.close()
+ raise KeyError, 'no such %s %s'%(classname, nodeid)
+ db.close()
res = []
for entry in journal:
(nodeid, date_stamp, user, action, params) = entry
#
#$Log: not supported by cvs2svn $
+#Revision 1.42 2002/07/10 06:21:38 richard
+#Be extra safe
+#
#Revision 1.41 2002/07/10 00:21:45 richard
#explicit database closing
#