We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc649b7 commit 837d4bdCopy full SHA for 837d4bd
roundup/cgi/client.py
@@ -1,4 +1,4 @@
1
-# $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 $
2
3
__doc__ = """
4
WWW request handler (also used in the stand-alone server).
@@ -492,6 +492,8 @@ def opendb(self, user):
492
'''
493
# open the db if the user has changed
494
if not hasattr(self, 'db') or user != self.db.journaltag:
495
+ if hasattr(self, 'db'):
496
+ self.db.close()
497
self.db = self.instance.open(user)
498
499
#
0 commit comments