Removing trailing whitespace

This commit is contained in:
mgasvoda
2017-08-11 16:14:13 -04:00
committed by GitHub
parent ba21d14976
commit 308343508b
+1 -1
View File
@@ -868,7 +868,7 @@ def check_header_validity(header):
if not pat.match(value):
raise InvalidHeader("Invalid return character or leading space in header: %s" % name)
except TypeError:
raise InvalidHeader("Value for header {%s:%s} must be of type str or "
raise InvalidHeader("Value for header {%s:%s} must be of type str or "
"bytes, not %s" % (name, value, type(value)))