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
2cca6f4c
Commit
2cca6f4c
authored
Jul 03, 2011
by
Hanno Schlichting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Account for ZopeLite
parent
b2bbe420
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
src/Zope2/App/startup.py
src/Zope2/App/startup.py
+7
-6
No files found.
src/Zope2/App/startup.py
View file @
2cca6f4c
...
@@ -97,12 +97,13 @@ def startup():
...
@@ -97,12 +97,13 @@ def startup():
# can indeed be opened. This avoids surprises during runtime when traversal
# can indeed be opened. This avoids surprises during runtime when traversal
# to some database mountpoint fails as the underlying storage cannot be
# to some database mountpoint fails as the underlying storage cannot be
# opened at all
# opened at all
for
mount
,
name
in
dbtab
.
listMountPaths
():
if
dbtab
is
not
None
:
_db
=
dbtab
.
getDatabase
(
mount
)
for
mount
,
name
in
dbtab
.
listMountPaths
():
_conn
=
_db
.
open
()
_db
=
dbtab
.
getDatabase
(
mount
)
_conn
.
close
()
_conn
=
_db
.
open
()
del
_conn
_conn
.
close
()
del
_db
del
_conn
del
_db
notify
(
DatabaseOpened
(
DB
))
notify
(
DatabaseOpened
(
DB
))
...
...
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