Skip to content

Commit

Permalink
Changed all calls to zope.app.event.publish to use zope.event.notify.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Fulton committed May 26, 2004
1 parent d8f6ab3 commit 68ab19c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions appsetup.py
Expand Up @@ -88,7 +88,7 @@ def database(db):
db = DB(storage, cache_size=4000)

# The following will fail unless the application has been configured.
from zope.app.event import publish
publish(None, DatabaseOpened(db))
from zope.event import notify
notify(DatabaseOpened(db))

return db

0 comments on commit 68ab19c

Please sign in to comment.