diff options
| author | Gael Pasgrimaud <gael@gawel.org> | 2019-10-11 16:43:37 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-11 16:43:37 +0200 |
| commit | cb1cee0262fee9260faa69fe9d9a7b67a81e4c67 (patch) | |
| tree | 0020fe34120b80bdc2ec2fd608b1074a3792c3d9 | |
| parent | ff755bc0704260411252f36e0fd83a76af1201db (diff) | |
| parent | ebb1b160de0836b8dfcd26705f14fd7b3bb16439 (diff) | |
| download | webtest-cb1cee0262fee9260faa69fe9d9a7b67a81e4c67.tar.gz | |
Merge pull request #216 from kotofos/refactor-fix
Fix bad variable name in check_header
| -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)) ) |
