diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-05-16 20:59:41 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-05-16 20:59:41 +0000 |
| commit | def444c2c310c8cb117e0c5181bf74f5beed064c (patch) | |
| tree | 7415757b8463512dd62923c6c7b400cee0eb8be8 /repoze/bfg/interfaces.py | |
| parent | 090f6b77dcc8cd738caba4dbb3885ccb6ddb3d41 (diff) | |
| download | pyramid-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.py | 4 |
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' |
