diff options
| author | Theron Luhn <theron@luhn.com> | 2019-03-09 12:39:41 -0800 |
|---|---|---|
| committer | Theron Luhn <theron@luhn.com> | 2019-03-09 13:40:17 -0800 |
| commit | 027d3cbd461be0555e7f4e44b508428228a4b56f (patch) | |
| tree | c6299b875e81a5feade9634c41d14a2453a5e383 /src | |
| parent | edf7ef0c379361f3a056014b068a01657decfb76 (diff) | |
| download | pyramid-027d3cbd461be0555e7f4e44b508428228a4b56f.tar.gz pyramid-027d3cbd461be0555e7f4e44b508428228a4b56f.tar.bz2 pyramid-027d3cbd461be0555e7f4e44b508428228a4b56f.zip | |
Revamp tests for EffectivePrincipalsPredicate.
Diffstat (limited to 'src')
| -rw-r--r-- | src/pyramid/predicates.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/pyramid/predicates.py b/src/pyramid/predicates.py index 5a1127fb3..974f41cc5 100644 --- a/src/pyramid/predicates.py +++ b/src/pyramid/predicates.py @@ -291,6 +291,13 @@ class PhysicalPathPredicate(object): class EffectivePrincipalsPredicate(object): + """ + .. deprecated:: 2.0 + + No longer applicable with the new :term:`security policy`. + + """ + def __init__(self, val, config): if is_nonstr_iter(val): self.val = set(val) |
