Mercurial > p > roundup > code
diff roundup/hyperdb.py @ 841:234996e85699
braino
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Wed, 10 Jul 2002 00:24:10 +0000 |
| parents | bf55b2b800b9 |
| children | 2dd862af72ee |
line wrap: on
line diff
--- a/roundup/hyperdb.py Wed Jul 10 00:22:49 2002 +0000 +++ b/roundup/hyperdb.py Wed Jul 10 00:24:10 2002 +0000 @@ -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 @@ break if hit: break - except: + finally: cldb.close() return l @@ -1215,6 +1215,9 @@ # # $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.
