summaryrefslogtreecommitdiff
path: root/repoze/bfg/interfaces.py
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2008-07-04 06:30:02 +0000
committerChris McDonough <chrism@agendaless.com>2008-07-04 06:30:02 +0000
commit612d7478492b8c96cb138b7ee6f9b1829d046fc8 (patch)
treedf5356c97b7fe9cc681553f156a9e4ddbb0a4b79 /repoze/bfg/interfaces.py
downloadpyramid-612d7478492b8c96cb138b7ee6f9b1829d046fc8.tar.gz
pyramid-612d7478492b8c96cb138b7ee6f9b1829d046fc8.tar.bz2
pyramid-612d7478492b8c96cb138b7ee6f9b1829d046fc8.zip
Start on bfg.
Diffstat (limited to 'repoze/bfg/interfaces.py')
-rw-r--r--repoze/bfg/interfaces.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/repoze/bfg/interfaces.py b/repoze/bfg/interfaces.py
new file mode 100644
index 000000000..5e1a605ec
--- /dev/null
+++ b/repoze/bfg/interfaces.py
@@ -0,0 +1,10 @@
+from zope.interface import Interface
+
+class IWSGIApplication(Interface):
+ def __call__(environ, start_response):
+ """ Represent a WSGI (PEP 333) application """
+
+class IPolicy(Interface):
+ def __call__(environ):
+ """ Return a tuple in the form (context, name, subpath) """
+