X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=roundup%2Fbackends%2Fsessions.py;h=31c48c97d87244089bd6b4a91ddd6fef7d511500;hb=b5c486ed75085168302bfb5eabcaa839a7e692ae;hp=ea105da8258f79469e5b23d2e0b17ab0cc28897e;hpb=7a1a18069e9f02b3bd0160abbc094b8fb7d8eeac;p=roundup.git diff --git a/roundup/backends/sessions.py b/roundup/backends/sessions.py index ea105da..31c48c9 100644 --- a/roundup/backends/sessions.py +++ b/roundup/backends/sessions.py @@ -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 $ -# -#