[Checkins] SVN: grok/trunk/src/grok/interfaces.py Provide IApplication too, but the way this is declared is rather error prone
Jan-Wijbrand Kolman
janwijbrand at gmail.com
Thu Jan 20 08:24:45 EST 2011
Log message for revision 119783:
Provide IApplication too, but the way this is declared is rather error prone
Changed:
U grok/trunk/src/grok/interfaces.py
-=-
Modified: grok/trunk/src/grok/interfaces.py
===================================================================
--- grok/trunk/src/grok/interfaces.py 2011-01-20 13:12:07 UTC (rev 119782)
+++ grok/trunk/src/grok/interfaces.py 2011-01-20 13:24:45 UTC (rev 119783)
@@ -35,7 +35,6 @@
from grokcore.component.interfaces import IContext
from grokcore.component.interfaces import IGrokErrors
-
from grokcore.rest.interfaces import IREST, IRESTSkinType, IRESTLayer
class IGrokBaseClasses(grokcore.annotation.interfaces.IBaseClasses,
@@ -157,7 +156,9 @@
def getSite():
"""Get the current site."""
+ # XXX should be moved to the respective API declarations!
IRESTSkinType = interface.Attribute('The REST skin type')
+ IApplication = interface.Attribute('The application model interface')
class IGrokView(grokcore.view.interfaces.IGrokView):
More information about the checkins
mailing list