diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-11-21 05:07:44 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-11-21 05:07:44 +0000 |
| commit | 687debd118c601a261cd0a32905c5f5a18515c5c (patch) | |
| tree | d695bcbbcc1530ec40cc29ca6e96a5573d4fe451 /repoze/bfg/request.py | |
| parent | 2a264f946dd98ab423b458ba8e2c1ec3b55052e1 (diff) | |
| download | pyramid-687debd118c601a261cd0a32905c5f5a18515c5c.tar.gz pyramid-687debd118c601a261cd0a32905c5f5a18515c5c.tar.bz2 pyramid-687debd118c601a261cd0a32905c5f5a18515c5c.zip | |
- "Hybrid mode" applications (applications which explicitly used
traversal *after* url dispatch via ``<route>`` 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.
Diffstat (limited to 'repoze/bfg/request.py')
| -rw-r--r-- | repoze/bfg/request.py | 4 |
1 files changed, 1 insertions, 3 deletions
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__ |
