summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 292c8b3)
raw | patch | inline | side by side (parent: 292c8b3)
author | rochecompaan <rochecompaan@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 24 Apr 2002 10:38:26 +0000 (10:38 +0000) | ||
committer | rochecompaan <rochecompaan@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 24 Apr 2002 10:38:26 +0000 (10:38 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@711 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 959ea212f9a4c2c2f71e9eacb825de0c9e666808..b0b8a4af5a4efe2b0cd44612664ab45c63f2ac21 100644 (file)
--- a/CHANGES.txt
+++ b/CHANGES.txt
</td>
. stripping of the email message body can now be controlled through the
config variables EMAIL_KEEP_QUOTED_TEXT and EMAIL_LEAVE_BODY_UNCHANGED.
+ . all database files created are now group readable and writable.
Fixed:
. stop sending blank (whitespace-only) notes
index 4735d04364299f6a80495b855e0e2431eaaf84a2..be4bd4ef639ad4603a555e117a4df405a96bea7d 100644 (file)
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-#$Id: back_anydbm.py,v 1.32 2002-04-15 23:25:15 richard Exp $
+#$Id: back_anydbm.py,v 1.33 2002-04-24 10:38:26 rochecompaan 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
self.dirtynodes = {} # keep track of the dirty nodes by class
self.newnodes = {} # keep track of the new nodes by class
self.transactions = []
+ # ensure files are group readable and writable
+ os.umask(0002)
def __repr__(self):
return '<back_anydbm instance at %x>'%id(self)
#
#$Log: not supported by cvs2svn $
+#Revision 1.32 2002/04/15 23:25:15 richard
+#. node ids are now generated from a lockable store - no more race conditions
+#
+#We're using the portalocker code by Jonathan Feinberg that was contributed
+#to the ASPN Python cookbook. This gives us locking across Unix and Windows.
+#
#Revision 1.31 2002/04/03 05:54:31 richard
#Fixed serialisation problem by moving the serialisation step out of the
#hyperdb.Class (get, set) into the hyperdb.Database.