Switch to unified view
a/Allura/allura/controllers/base.py | b/Allura/allura/controllers/base.py | ||
---|---|---|---|
... |
... |
||
2 | from webob import exc |
2 | from webob import exc |
3 | 3 | ||
4 | class BaseController(object): |
4 | class BaseController(object): |
5 | @expose() |
5 | @expose() |
6 | def _lookup(self, name, *remainder): |
6 | def _lookup(self, name, *remainder): |
7 | """Provide explicit default lookup to avoid dispatching backtracking |
||
8 | and possible loops.""" |
||
7 | raise exc.HTTPNotFound, name |
9 | raise exc.HTTPNotFound, name |