Mercurial > p > roundup > code
diff roundup/cgi/client.py @ 4212:51a098592b78
Reopen session with database.
| author | Stefan Seefeld <stefan@seefeld.name> |
|---|---|
| date | Tue, 14 Jul 2009 13:52:38 +0000 |
| parents | c15fcee3d8a1 |
| children | 3f6cadb98c2f |
line wrap: on
line diff
--- a/roundup/cgi/client.py Tue Jul 14 09:10:43 2009 +0000 +++ b/roundup/cgi/client.py Tue Jul 14 13:52:38 2009 +0000 @@ -721,6 +721,10 @@ else: self.db.close() self.db = self.instance.open(username) + # The old session API refers to the closed database; + # we can no longer use it. + self.session_api = Session(self) + def determine_context(self, dre=re.compile(r'([^\d]+)0*(\d+)')): """Determine the context of this page from the URL:
