Commit 60bb940b authored by Barry Warsaw's avatar Barry Warsaw

close(): Don't close the commit log, since the base class's close()

will do this.
parent 184417f9
...@@ -4,7 +4,7 @@ See Full.py for an implementation of Berkeley storage that does support undo ...@@ -4,7 +4,7 @@ See Full.py for an implementation of Berkeley storage that does support undo
and versioning. and versioning.
""" """
__version__ = '$Revision: 1.10 $'[-2:][0] __version__ = '$Revision: 1.11 $'[-2:][0]
# This uses the Dunn/Kuchling PyBSDDB v3 extension module available from # This uses the Dunn/Kuchling PyBSDDB v3 extension module available from
# http://pybsddb.sourceforge.net. It is compatible with release 3.0 of # http://pybsddb.sourceforge.net. It is compatible with release 3.0 of
...@@ -122,8 +122,6 @@ class Minimal(BerkeleyBase): ...@@ -122,8 +122,6 @@ class Minimal(BerkeleyBase):
# that just to reclaim the garbage? # that just to reclaim the garbage?
self._serials.close() self._serials.close()
self._pickles.close() self._pickles.close()
if self._commitlog is not None:
self._commitlog.close()
# Base class implements some useful close behavior # Base class implements some useful close behavior
BerkeleyBase.close(self) BerkeleyBase.close(self)
......
...@@ -4,7 +4,7 @@ See Full.py for an implementation of Berkeley storage that does support undo ...@@ -4,7 +4,7 @@ See Full.py for an implementation of Berkeley storage that does support undo
and versioning. and versioning.
""" """
__version__ = '$Revision: 1.10 $'[-2:][0] __version__ = '$Revision: 1.11 $'[-2:][0]
# This uses the Dunn/Kuchling PyBSDDB v3 extension module available from # This uses the Dunn/Kuchling PyBSDDB v3 extension module available from
# http://pybsddb.sourceforge.net. It is compatible with release 3.0 of # http://pybsddb.sourceforge.net. It is compatible with release 3.0 of
...@@ -122,8 +122,6 @@ class Minimal(BerkeleyBase): ...@@ -122,8 +122,6 @@ class Minimal(BerkeleyBase):
# that just to reclaim the garbage? # that just to reclaim the garbage?
self._serials.close() self._serials.close()
self._pickles.close() self._pickles.close()
if self._commitlog is not None:
self._commitlog.close()
# Base class implements some useful close behavior # Base class implements some useful close behavior
BerkeleyBase.close(self) BerkeleyBase.close(self)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment