summaryrefslogtreecommitdiff
path: root/repoze/bfg/interfaces.py
diff options
context:
space:
mode:
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")
+