summaryrefslogtreecommitdiff
path: root/repoze/bfg/interfaces.py
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2008-07-11 23:30:35 +0000
committerChris McDonough <chrism@agendaless.com>2008-07-11 23:30:35 +0000
commit2d74688f6564c325077044c4b870c6f966baad91 (patch)
treea536611d8ad9a816afd139b1f140bde34e61647a /repoze/bfg/interfaces.py
parent3011338a75fe905a150ab93c97830b39c55b4ca1 (diff)
downloadpyramid-2d74688f6564c325077044c4b870c6f966baad91.tar.gz
pyramid-2d74688f6564c325077044c4b870c6f966baad91.tar.bz2
pyramid-2d74688f6564c325077044c4b870c6f966baad91.zip
Add security policy checks.
Diffstat (limited to 'repoze/bfg/interfaces.py')
-rw-r--r--repoze/bfg/interfaces.py3
1 files changed, 2 insertions, 1 deletions
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")
+