From 2d74688f6564c325077044c4b870c6f966baad91 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 11 Jul 2008 23:30:35 +0000 Subject: Add security policy checks. --- repoze/bfg/interfaces.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'repoze/bfg/interfaces.py') diff --git a/repoze/bfg/interfaces.py b/repoze/bfg/interfaces.py index a0409ba89..b4c222418 100644 --- a/repoze/bfg/interfaces.py +++ b/repoze/bfg/interfaces.py @@ -36,10 +36,11 @@ class IWSGIApplication(Interface): """ A PEP 333 application """ class IWSGIApplicationFactory(Interface): - def __call__(view, request): + def __call__(context, request, view): """ Return an object that implements IWSGIApplication """ class ILocation(Interface): """Objects that have a structural location""" __parent__ = Attribute("The parent in the location hierarchy") __name__ = Attribute("The name of the object") + -- cgit v1.2.3