Mercurial > p > roundup > code
comparison roundup/backends/sessions.py @ 1789:8c05f8a93a36
Normalize multiline strings for emacs.
| author | Johannes Gijsbers <jlgijsbers@users.sourceforge.net> |
|---|---|
| date | Fri, 05 Sep 2003 21:05:18 +0000 |
| parents | bee5f62ea214 |
| children | fc52d57c6c3e |
comparison
equal
deleted
inserted
replaced
| 1788:e5a17d4dd2c2 | 1789:8c05f8a93a36 |
|---|---|
| 1 #$Id: sessions.py,v 1.5 2003-06-24 06:47:44 anthonybaxter Exp $ | 1 #$Id: sessions.py,v 1.6 2003-09-05 21:05:18 jlgijsbers Exp $ |
| 2 ''' | 2 """ |
| 3 This module defines a very basic store that's used by the CGI interface | 3 This module defines a very basic store that's used by the CGI interface |
| 4 to store session and one-time-key information. | 4 to store session and one-time-key information. |
| 5 | 5 |
| 6 Yes, it's called "sessions" - because originally it only defined a session | 6 Yes, it's called "sessions" - because originally it only defined a session |
| 7 class. It's now also used for One Time Key handling too. | 7 class. It's now also used for One Time Key handling too. |
| 8 | 8 |
| 9 ''' | 9 """ |
| 10 | 10 |
| 11 import anydbm, whichdb, os, marshal | 11 import anydbm, whichdb, os, marshal |
| 12 | 12 |
| 13 class BasicDatabase: | 13 class BasicDatabase: |
| 14 ''' Provide a nice encapsulation of an anydbm store. | 14 ''' Provide a nice encapsulation of an anydbm store. |
