From 3ac5b51f85f102cf896bc2ec3509d3c7027a3816 Mon Sep 17 00:00:00 2001 From: richard Date: Wed, 10 Jul 2002 00:24:10 +0000 Subject: [PATCH] braino git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@855 57a73879-2fb5-44c3-a270-3262357dd7e2 --- roundup/hyperdb.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/roundup/hyperdb.py b/roundup/hyperdb.py index 8837db4..af70c2d 100644 --- a/roundup/hyperdb.py +++ b/roundup/hyperdb.py @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: hyperdb.py,v 1.73 2002-07-10 00:19:48 richard Exp $ +# $Id: hyperdb.py,v 1.74 2002-07-10 00:24:10 richard Exp $ __doc__ = """ Hyperdatabase implementation, especially field types. @@ -840,7 +840,7 @@ class Class: break if hit: break - except: + finally: cldb.close() return l @@ -1215,6 +1215,9 @@ def Choice(name, db, *options): # # $Log: not supported by cvs2svn $ +# Revision 1.73 2002/07/10 00:19:48 richard +# Added explicit closing of backend database handles. +# # Revision 1.72 2002/07/09 21:53:38 gmcm # Optimize Class.find so that the propspec can contain a set of ids to match. # This is used by indexer.search so it can do just one find for all the index matches. -- 2.30.2