diff options
| author | russellballestrini <russell.ballestrini@gmail.com> | 2017-05-06 21:29:30 -0400 |
|---|---|---|
| committer | russellballestrini <russell.ballestrini@gmail.com> | 2017-05-06 21:29:30 -0400 |
| commit | 03e2626a6b33584e2b4e1c7c446b4f311c0fb350 (patch) | |
| tree | f3a8c35089147a841018da8abaa52bddcc52c6d1 | |
| parent | 666e8a72aad017633c9c2ca8c2fe0dcfe54a2b29 (diff) | |
| download | pyramid-03e2626a6b33584e2b4e1c7c446b4f311c0fb350.tar.gz pyramid-03e2626a6b33584e2b4e1c7c446b4f311c0fb350.tar.bz2 pyramid-03e2626a6b33584e2b4e1c7c446b4f311c0fb350.zip | |
pep8 fix
modified: pyramid/url.py
| -rw-r--r-- | pyramid/url.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyramid/url.py b/pyramid/url.py index 7371acaa3..cbfbfc553 100644 --- a/pyramid/url.py +++ b/pyramid/url.py @@ -55,7 +55,7 @@ def parse_url_overrides(kw): if anchor: anchor = url_quote(anchor, ANCHOR_SAFE) - if anchor.startswith('#') == False: + if not anchor.startswith('#'): anchor = '#' + anchor return app_url, scheme, host, port, qs, anchor |
