Mercurial > p > roundup > code
diff roundup/backends/back_bsddb.py @ 1075:4af69ca380bd
more 'n' -> 'c' :(
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 09 Sep 2002 02:58:35 +0000 |
| parents | 16498e77e3ff |
| children | 32e41ddf2edb |
line wrap: on
line diff
--- a/roundup/backends/back_bsddb.py Mon Sep 09 01:59:43 2002 +0000 +++ b/roundup/backends/back_bsddb.py Mon Sep 09 02:58:35 2002 +0000 @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -#$Id: back_bsddb.py,v 1.21 2002-09-03 07:33:01 richard Exp $ +#$Id: back_bsddb.py,v 1.22 2002-09-09 02:58:34 richard Exp $ ''' This module defines a backend that saves the hyperdatabase in BSDDB. ''' @@ -49,7 +49,7 @@ if os.path.exists(path): return bsddb.btopen(path, mode) else: - return bsddb.btopen(path, 'n') + return bsddb.btopen(path, 'c') def opendb(self, name, mode): '''Low-level database opener that gets around anydbm/dbm @@ -131,6 +131,9 @@ # #$Log: not supported by cvs2svn $ +#Revision 1.21 2002/09/03 07:33:01 richard +#allow overiding of the index args roundup/cgi/templating.py +# #Revision 1.20 2002/07/19 03:36:34 richard #Implemented the destroy() method needed by the session database (and possibly #others). At the same time, I removed the leading underscores from the hyperdb
