diff options
Diffstat (limited to 'Lib/bsddb/__init__.py')
-rw-r--r-- | Lib/bsddb/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/bsddb/__init__.py b/Lib/bsddb/__init__.py index b7bd482..d3ee773 100644 --- a/Lib/bsddb/__init__.py +++ b/Lib/bsddb/__init__.py @@ -194,7 +194,7 @@ class _DBWithCursor(_iter_mixin): try: self.saved_dbc_key = c.current(0,0,0)[0] except db.DBError: - pass + pass c.close() del c for cref in self._cursor_refs.values(): |