From 687debd118c601a261cd0a32905c5f5a18515c5c Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 21 Nov 2009 05:07:44 +0000 Subject: - "Hybrid mode" applications (applications which explicitly used traversal *after* url dispatch via ```` paths containing the ``*traverse`` element) were broken in 1.1-final and all 1.1 alpha and beta releases. Views registered without a ``route_name`` route shadowed views registered with a ``route_name`` inappropriately. --- repoze/bfg/request.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'repoze/bfg/request.py') diff --git a/repoze/bfg/request.py b/repoze/bfg/request.py index 07151b512..d25e93ef0 100644 --- a/repoze/bfg/request.py +++ b/repoze/bfg/request.py @@ -1,12 +1,10 @@ from zope.deprecation import deprecated from zope.interface import implements from zope.interface.interface import InterfaceClass -from zope.interface.interface import Interface from webob import Request as WebobRequest from repoze.bfg.interfaces import IRequest -from repoze.bfg.interfaces import IRouteRequest def make_request_ascii(event): """ An event handler that causes the request charset to be ASCII; @@ -80,7 +78,7 @@ class Request(WebobRequest): return self.environ.values() def route_request_iface(name): - return InterfaceClass('%s_IRequest' % name, (IRouteRequest,)) + return InterfaceClass('%s_IRequest' % name) def add_global_response_headers(request, headerlist): attrs = request.__dict__ -- cgit v1.2.3