summaryrefslogtreecommitdiff
path: root/repoze/bfg/interfaces.py
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-05-16 20:59:41 +0000
committerChris McDonough <chrism@agendaless.com>2009-05-16 20:59:41 +0000
commitdef444c2c310c8cb117e0c5181bf74f5beed064c (patch)
tree7415757b8463512dd62923c6c7b400cee0eb8be8 /repoze/bfg/interfaces.py
parent090f6b77dcc8cd738caba4dbb3885ccb6ddb3d41 (diff)
downloadpyramid-def444c2c310c8cb117e0c5181bf74f5beed064c.tar.gz
pyramid-def444c2c310c8cb117e0c5181bf74f5beed064c.tar.bz2
pyramid-def444c2c310c8cb117e0c5181bf74f5beed064c.zip
Speed up common case (use default factory).
Diffstat (limited to 'repoze/bfg/interfaces.py')
-rw-r--r--repoze/bfg/interfaces.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/repoze/bfg/interfaces.py b/repoze/bfg/interfaces.py
index dbbfd78a5..5dadd252a 100644
--- a/repoze/bfg/interfaces.py
+++ b/repoze/bfg/interfaces.py
@@ -215,6 +215,10 @@ class IContextURL(Interface):
def __call__():
""" Return a URL that points to the context """
+class IRoutesContextFactory(Interface):
+ """ A marker interface used to look up the default routes context factory
+ """
+
# VH_ROOT_KEY is an interface; its imported from other packages (e.g.
# traversalwrapper)
VH_ROOT_KEY = 'HTTP_X_VHM_ROOT'