diff options
| -rw-r--r-- | pyramid/config/predicates.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyramid/config/predicates.py b/pyramid/config/predicates.py index 128c3ab7b..fbd214b15 100644 --- a/pyramid/config/predicates.py +++ b/pyramid/config/predicates.py @@ -70,7 +70,7 @@ class RequestParamPredicate(object): for p in val: k = p v = None - if '=' in p and not (p.startswith('=') or p.endswith('=')): + if '=' in p and not p.startswith('='): k, v = p.split('=', 1) k, v = k.strip(), v.strip() reqs.append((k, v)) |
