diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-12-21 20:58:16 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-12-21 20:58:16 +0000 |
| commit | cc4505096f64e3d3d8c7791208459a2f12fe8f97 (patch) | |
| tree | 108c1221d7d6c3f14ef607744f216f6c2d42581e /repoze | |
| parent | 27a9ebb7dd9c05250eb602e3d054422d1734062f (diff) | |
| download | pyramid-cc4505096f64e3d3d8c7791208459a2f12fe8f97.tar.gz pyramid-cc4505096f64e3d3d8c7791208459a2f12fe8f97.tar.bz2 pyramid-cc4505096f64e3d3d8c7791208459a2f12fe8f97.zip | |
Wrong weight value for last predicate.
Diffstat (limited to 'repoze')
| -rw-r--r-- | repoze/bfg/configuration.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
