summaryrefslogtreecommitdiff
path: root/repoze
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2010-06-30 18:44:09 +0000
committerChris McDonough <chrism@agendaless.com>2010-06-30 18:44:09 +0000
commitd61024a2a7f625dd61b5face58f4190c9e233718 (patch)
tree5d197693b8d9440c4b5c69f689064ee1219e1fc7 /repoze
parent1a47ed8a6f2c552062b228c362edbea511e26dd6 (diff)
downloadpyramid-d61024a2a7f625dd61b5face58f4190c9e233718.tar.gz
pyramid-d61024a2a7f625dd61b5face58f4190c9e233718.tar.bz2
pyramid-d61024a2a7f625dd61b5face58f4190c9e233718.zip
- A section named ``Custom Predicates`` was added to the URL Dispatch
narrative chapter.
Diffstat (limited to 'repoze')
-rw-r--r--repoze/bfg/urldispatch.py3
1 files changed, 0 insertions, 3 deletions
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