From 9925ba653e18b5629497db5957cab718afe84807 Mon Sep 17 00:00:00 2001 From: stefan Date: Tue, 14 Jul 2009 13:52:38 +0000 Subject: [PATCH] Reopen session with database. git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4316 57a73879-2fb5-44c3-a270-3262357dd7e2 --- roundup/cgi/client.py | 4 ++++ 1 file changed, 4 insertions(+) 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: -- 2.30.2