From cc5e490467c105b8cce35c0bca688ed18ec93255 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 8 Aug 2008 23:10:20 +0000 Subject: - Add ``find_context_from_path`` and ``find_root`` traversal APIs. In the process, make ITraverser a uni-adapter (on context) rather than a multiadapter (on context and request). --- repoze/bfg/interfaces.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'repoze/bfg/interfaces.py') diff --git a/repoze/bfg/interfaces.py b/repoze/bfg/interfaces.py index 4d557b098..4f1a203df 100644 --- a/repoze/bfg/interfaces.py +++ b/repoze/bfg/interfaces.py @@ -23,7 +23,7 @@ class ITraverser(Interface): the result of an object graph traversal """ class ITraverserFactory(Interface): - def __call__(context, request): + def __call__(context): """ Return an object that implements IPublishTraverser """ class ITemplateFactory(Interface): -- cgit v1.2.3