Skip to content

Commit

Permalink
fix missing imports that were exposed as the api
Browse files Browse the repository at this point in the history
  • Loading branch information
janwijbrand committed May 2, 2012
1 parent b654a6a commit 9a3efa8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 2 additions & 3 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ Changes
1.7 (unreleased)
----------------

- Nothing changed yet.
- Exposed ApplicationInitializedEvent and IApplicationInitializedEvent.

- Added the missing import for the exposed IApplication interface.

1.6 (2012-05-01)
----------------
Expand All @@ -15,14 +16,12 @@ Changes
- Moved the component `Application` and all the related utilities from Grok
to this package.


1.5 (2011-01-03)
----------------

- Moved IApplication and getApplication from the Grok package into
this one.


1.4 (2010-11-01)
----------------

Expand Down
4 changes: 4 additions & 0 deletions src/grokcore/site/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,9 @@

import grokcore.site.testing

from grokcore.site.interfaces import IApplication
from grokcore.site.interfaces import IApplicationInitializedEvent
from grokcore.site.interfaces import ApplicationInitializedEvent

from grokcore.site.interfaces import IGrokcoreSiteAPI
__all__ = list(IGrokcoreSiteAPI)
6 changes: 6 additions & 0 deletions src/grokcore/site/interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@ class IGrokcoreSiteAPI(IGrokcoreComponentAPI, IBaseClasses, IDirectives):

IApplication = Attribute('The application model interface')

IApplicationInitializedEvent = Attribute(
'The application initialized event interface')

ApplicationInitializedEvent = Attribute(
'The application initialized event factory')

def getSite():
"""Get the current site."""

Expand Down

0 comments on commit 9a3efa8

Please sign in to comment.