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
97b028ed
Commit
97b028ed
authored
Dec 27, 2007
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sending DatabaseOpened event during startup
parent
8462dbbb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
lib/python/Zope2/App/startup.py
lib/python/Zope2/App/startup.py
+5
-0
No files found.
lib/python/Zope2/App/startup.py
View file @
97b028ed
...
...
@@ -38,6 +38,9 @@ import App.ZApplication
import
Zope2
import
ZPublisher
from
zope.event
import
notify
from
zope.app
import
appsetup
app
=
None
startup_time
=
asctime
()
...
...
@@ -74,6 +77,8 @@ def startup():
else
:
DB
=
ZODB
.
DB
(
m
.
Storage
,
databases
=
databases
)
notify
(
appsetup
.
interfaces
.
DatabaseOpened
(
DB
))
Globals
.
BobobaseName
=
DB
.
getName
()
if
DB
.
getActivityMonitor
()
is
None
:
...
...
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