Code

sqlite backend!
[roundup.git] / roundup / backends / sessions.py
index ea105da8258f79469e5b23d2e0b17ab0cc28897e..31c48c97d87244089bd6b4a91ddd6fef7d511500 100644 (file)
@@ -1,4 +1,4 @@
-#$Id: sessions.py,v 1.1 2002-07-30 08:22:38 richard Exp $
+#$Id: sessions.py,v 1.3 2002-09-10 00:11:50 richard Exp $
 '''
 This module defines a very basic store that's used by the CGI interface
 to store session information.
@@ -86,7 +86,7 @@ class Sessions:
 
         # 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)
@@ -94,8 +94,3 @@ class Sessions:
 
     def commit(self):
         pass
-
-#
-#$Log: not supported by cvs2svn $
-#
-#