From: richard Date: Wed, 18 Sep 2002 06:33:06 +0000 (+0000) Subject: missed a db close X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7f0d590ef1200aad8591ddede1839ada42b004be;p=roundup.git missed a db close git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1191 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/roundup/cgi/client.py b/roundup/cgi/client.py index bb385c9..8825350 100644 --- a/roundup/cgi/client.py +++ b/roundup/cgi/client.py @@ -1,4 +1,4 @@ -# $Id: client.py,v 1.38 2002-09-18 00:01:28 richard Exp $ +# $Id: client.py,v 1.39 2002-09-18 06:33:06 richard Exp $ __doc__ = """ WWW request handler (also used in the stand-alone server). @@ -492,6 +492,8 @@ class Client: ''' # open the db if the user has changed if not hasattr(self, 'db') or user != self.db.journaltag: + if hasattr(self, 'db'): + self.db.close() self.db = self.instance.open(user) #