From d61024a2a7f625dd61b5face58f4190c9e233718 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 30 Jun 2010 18:44:09 +0000 Subject: - A section named ``Custom Predicates`` was added to the URL Dispatch narrative chapter. --- repoze/bfg/urldispatch.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'repoze') diff --git a/repoze/bfg/urldispatch.py b/repoze/bfg/urldispatch.py index 51b6f9f84..7a77fec5b 100644 --- a/repoze/bfg/urldispatch.py +++ b/repoze/bfg/urldispatch.py @@ -51,9 +51,6 @@ class RoutesMapper(object): match = route.match(path) if match is not None: preds = route.predicates - # NB: it is the intent that only 'match' be relied on - # by built-in predicates. 'route' and 'mapper' may be - # used by custom predicates. info = {'match':match, 'route':route} if preds and not all((p(info, request) for p in preds)): continue -- cgit v1.2.3