Skip to content

Commit 6412281

Browse files
author
Richard Jones
committed
braino
1 parent c3e3539 commit 6412281

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

roundup/hyperdb.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: hyperdb.py,v 1.73 2002-07-10 00:19:48 richard Exp $
18+
# $Id: hyperdb.py,v 1.74 2002-07-10 00:24:10 richard Exp $
1919

2020
__doc__ = """
2121
Hyperdatabase implementation, especially field types.
@@ -840,7 +840,7 @@ def find(self, **propspec):
840840
break
841841
if hit:
842842
break
843-
except:
843+
finally:
844844
cldb.close()
845845
return l
846846

@@ -1215,6 +1215,9 @@ def Choice(name, db, *options):
12151215

12161216
#
12171217
# $Log: not supported by cvs2svn $
1218+
# Revision 1.73 2002/07/10 00:19:48 richard
1219+
# Added explicit closing of backend database handles.
1220+
#
12181221
# Revision 1.72 2002/07/09 21:53:38 gmcm
12191222
# Optimize Class.find so that the propspec can contain a set of ids to match.
12201223
# This is used by indexer.search so it can do just one find for all the index matches.

0 commit comments

Comments
 (0)