From cc4505096f64e3d3d8c7791208459a2f12fe8f97 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 21 Dec 2009 20:58:16 +0000 Subject: Wrong weight value for last predicate. --- repoze/bfg/configuration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'repoze') diff --git a/repoze/bfg/configuration.py b/repoze/bfg/configuration.py index 78a379bb2..e96c26853 100644 --- a/repoze/bfg/configuration.py +++ b/repoze/bfg/configuration.py @@ -1323,7 +1323,7 @@ def _make_predicates(xhr=None, request_method=None, path_info=None, if containment is not None: def containment_predicate(context, request): return find_interface(context, containment) is not None - weight = weight - 70 + weight = weight - 80 predicates.append(containment_predicate) # this will be == sys.maxint if no predicates -- cgit v1.2.3