Parent: [3abb2e] (diff)

Child: [c48889] (diff)

Download this file

base.py    9 lines (8 with data), 274 Bytes

1
2
3
4
5
6
7
8
9
from tg import expose
from webob import exc
class BaseController(object):
@expose()
def _lookup(self, name, *remainder):
"""Provide explicit default lookup to avoid dispatching backtracking
and possible loops."""
raise exc.HTTPNotFound, name