From: stefan Date: Tue, 14 Jul 2009 13:52:38 +0000 (+0000) Subject: Reopen session with database. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9925ba653e18b5629497db5957cab718afe84807;p=roundup.git Reopen session with database. git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4316 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/roundup/cgi/client.py b/roundup/cgi/client.py index 3b3be84..6208de8 100644 --- a/roundup/cgi/client.py +++ b/roundup/cgi/client.py @@ -721,6 +721,10 @@ class Client: 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: