diff roundup/backends/sessions.py @ 1075:4af69ca380bd

more 'n' -> 'c' :(
author Richard Jones <richard@users.sourceforge.net>
date Mon, 09 Sep 2002 02:58:35 +0000
parents 76b783c69976
children 32e41ddf2edb
line wrap: on
line diff
--- a/roundup/backends/sessions.py	Mon Sep 09 01:59:43 2002 +0000
+++ b/roundup/backends/sessions.py	Mon Sep 09 02:58:35 2002 +0000
@@ -1,4 +1,4 @@
-#$Id: sessions.py,v 1.1 2002-07-30 08:22:38 richard Exp $
+#$Id: sessions.py,v 1.2 2002-09-09 02:58:35 richard Exp $
 '''
 This module defines a very basic store that's used by the CGI interface
 to store session information.
@@ -86,7 +86,7 @@
 
         # new database? let anydbm pick the best dbm
         if not db_type:
-            return anydbm.open(path, 'n')
+            return anydbm.open(path, 'c')
 
         # open the database with the correct module
         dbm = __import__(db_type)
@@ -97,5 +97,11 @@
 
 #
 #$Log: not supported by cvs2svn $
+#Revision 1.1  2002/07/30 08:22:38  richard
+#Session storage in the hyperdb was horribly, horribly inefficient. We use
+#a simple anydbm wrapper now - which could be overridden by the metakit
+#backend or RDB backend if necessary.
+#Much, much better.
 #
 #
+#

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