diff roundup/backends/back_anydbm.py @ 1028:16498e77e3ff

allow overiding of the index args roundup/cgi/templating.py
author Richard Jones <richard@users.sourceforge.net>
date Tue, 03 Sep 2002 07:33:01 +0000
parents 56fbe66a27e1
children a8101aa90814
line wrap: on
line diff
--- a/roundup/backends/back_anydbm.py	Tue Sep 03 07:13:42 2002 +0000
+++ b/roundup/backends/back_anydbm.py	Tue Sep 03 07:33:01 2002 +0000
@@ -15,7 +15,7 @@
 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 # 
-#$Id: back_anydbm.py,v 1.68 2002-09-03 05:46:20 richard Exp $
+#$Id: back_anydbm.py,v 1.69 2002-09-03 07:33:01 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
@@ -175,8 +175,8 @@
         # new database? let anydbm pick the best dbm
         if not db_type:
             if __debug__:
-                print >>hyperdb.DEBUG, "opendb anydbm.open(%r, 'n')"%path
-            return anydbm.open(path, 'n')
+                print >>hyperdb.DEBUG, "opendb anydbm.open(%r, 'c')"%path
+            return anydbm.open(path, 'c')
 
         # open the database with the correct module
         try:
@@ -1909,6 +1909,9 @@
 
 #
 #$Log: not supported by cvs2svn $
+#Revision 1.68  2002/09/03 05:46:20  richard
+#handle disappearing users for journaltags
+#
 #Revision 1.67  2002/09/03 02:53:53  richard
 #Fixed nasty bug that was preventing changes to multilinks going through.
 #

Roundup Issue Tracker: http://roundup-tracker.org/