def _makeOne(self, *args, **kw): from pyramid.view import exception_view_config return exception_view_config(*args, **kw)