Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
fa9bcb0b
Commit
fa9bcb0b
authored
Sep 03, 2002
by
Barry Warsaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
_close(): Don't close the database if it's already been closed.
parent
24ed0537
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
lib/python/BDBStorage/tests/ZODBTestBase.py
lib/python/BDBStorage/tests/ZODBTestBase.py
+3
-1
No files found.
lib/python/BDBStorage/tests/ZODBTestBase.py
View file @
fa9bcb0b
...
@@ -37,7 +37,9 @@ class ZODBTestBase(BerkeleyTestBase):
...
@@ -37,7 +37,9 @@ class ZODBTestBase(BerkeleyTestBase):
raise
raise
def
_close
(
self
):
def
_close
(
self
):
if
self
.
_db
is
not
None
:
self
.
_db
.
close
()
self
.
_db
.
close
()
self
.
_db
=
self
.
_storage
=
self
.
_conn
=
self
.
_root
=
None
def
tearDown
(
self
):
def
tearDown
(
self
):
# If the tests exited with any uncommitted objects, they'll blow up
# If the tests exited with any uncommitted objects, they'll blow up
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment