summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b5b2580)
raw | patch | inline | side by side (parent: b5b2580)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Fri, 18 Jan 2002 04:32:04 +0000 (04:32 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Fri, 18 Jan 2002 04:32:04 +0000 (04:32 +0000) |
more investigation.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@565 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@565 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/backends/back_anydbm.py | patch | blob | history |
index 61877a425348e925ac1f0cb560536c0c61dcab02..6b5bb2e836261d2b865838a61b0866fb91ea2085 100644 (file)
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-#$Id: back_anydbm.py,v 1.22 2002-01-14 02:20:15 richard Exp $
+#$Id: back_anydbm.py,v 1.23 2002-01-18 04:32:04 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
for method, args in self.transactions:
# delete temporary files
if method == self._doStoreFile:
- os.remove(args[0]+".tmp")
+ if os.path.exists(args[0]+".tmp"):
+ os.remove(args[0]+".tmp")
self.cache = {}
self.dirtynodes = {}
self.newnodes = {}
#
#$Log: not supported by cvs2svn $
+#Revision 1.22 2002/01/14 02:20:15 richard
+# . changed all config accesses so they access either the instance or the
+# config attriubute on the db. This means that all config is obtained from
+# instance_config instead of the mish-mash of classes. This will make
+# switching to a ConfigParser setup easier too, I hope.
+#
+#At a minimum, this makes migration a _little_ easier (a lot easier in the
+#0.5.0 switch, I hope!)
+#
#Revision 1.21 2002/01/02 02:31:38 richard
#Sorry for the huge checkin message - I was only intending to implement #496356
#but I found a number of places where things had been broken by transactions: