[Checkins]
SVN: grok/branches/jw-simpler-skin-registration/src/grok/components.py
Fix minor annoyance: layers should extend IBrowserRequest
Philipp von Weitershausen
philikon at philikon.de
Sat Aug 2 07:36:51 EDT 2008
Log message for revision 89195:
Fix minor annoyance: layers should extend IBrowserRequest
Changed:
U grok/branches/jw-simpler-skin-registration/src/grok/components.py
-=-
Modified: grok/branches/jw-simpler-skin-registration/src/grok/components.py
===================================================================
--- grok/branches/jw-simpler-skin-registration/src/grok/components.py 2008-08-02 11:35:50 UTC (rev 89194)
+++ grok/branches/jw-simpler-skin-registration/src/grok/components.py 2008-08-02 11:36:50 UTC (rev 89195)
@@ -29,6 +29,7 @@
from zope.securitypolicy.role import Role
from zope.publisher.browser import BrowserPage
from zope.publisher.interfaces import NotFound
+from zope.publisher.interfaces.browser import IBrowserRequest
from zope.publisher.interfaces.browser import IBrowserPublisher
from zope.publisher.interfaces.http import IHTTPRequest
from zope.publisher.publish import mapply
@@ -651,7 +652,7 @@
class Role(Role):
pass
-class IRESTLayer(interface.Interface):
+class IRESTLayer(IBrowserRequest):
pass
class RESTProtocol(object):
More information about the Checkins
mailing list