Update of /cvsroot/mailman/mailman3/src/mailman/berkeleydb
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20500
Modified Files:
berkeleydb.py
Log Message:
open(): Set the set/get return value behavior to always return None.
Index: berkeleydb.py
===================================================================
RCS file: /cvsroot/mailman/mailman3/src/mailman/berkeleydb/berkeleydb.py,v
retrieving revision 3.0
retrieving revision 3.1
diff -u -d -r3.0 -r3.1
--- berkeleydb.py 29 Mar 2004 05:18:50 -0000 3.0
+++ berkeleydb.py 7 Apr 2004 03:24:25 -0000 3.1
@@ -62,10 +62,10 @@
os.mkdir(self._path, 02775)
except OSError, e:
if e.errno <> errno.EEXIST: raise
- # Create the environment object
+ # Create the environment object, and set the get*() behavior
self._env = env = db.DBEnv()
+ env.set_get_returns_none(2)
# Acquire the lock file to serialize the creation of the lockfile.
- #import pdb ; pdb.set_trace()
lockpath = os.path.join(configuration.layout.lockdir, 'bdb.lock')
lock = lockfile.LockFile(lockpath)
status = lock.lock()
_______________________________________________
Mailman-checkins mailing list
[EMAIL PROTECTED]
Unsubscribe: http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org