diff options
| author | kotofos <ibelkov@gmail.com> | 2019-10-09 22:24:17 +0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-09 22:24:17 +0700 |
| commit | ebb1b160de0836b8dfcd26705f14fd7b3bb16439 (patch) | |
| tree | 0020fe34120b80bdc2ec2fd608b1074a3792c3d9 /webtest | |
| parent | ff755bc0704260411252f36e0fd83a76af1201db (diff) | |
| download | webtest-ebb1b160de0836b8dfcd26705f14fd7b3bb16439.tar.gz | |
Fix bad variable name in check_header
Fix regression introduced in 7d539b6a924edb7af728b3c47b71a06944b41e1d
Diffstat (limited to 'webtest')
| -rw-r--r-- | webtest/lint.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webtest/lint.py b/webtest/lint.py index a12a923..97e35ce 100644 --- a/webtest/lint.py +++ b/webtest/lint.py @@ -515,7 +515,7 @@ def check_headers(headers): if bad_header_value_re.search(value): raise AssertionError( "Bad header value: %r (bad char: %r)" - % (str_value, bad_header_value_re.search(value).group(0)) + % (value, bad_header_value_re.search(value).group(0)) ) |
