From def444c2c310c8cb117e0c5181bf74f5beed064c Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 16 May 2009 20:59:41 +0000 Subject: Speed up common case (use default factory). --- repoze/bfg/interfaces.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'repoze/bfg/interfaces.py') 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' -- cgit v1.2.3