Skip to content

Commit

Permalink
Wrap long line
Browse files Browse the repository at this point in the history
  • Loading branch information
twm committed Dec 28, 2020
1 parent 9f3026c commit ebe28ff
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/treq/client.py
Expand Up @@ -400,9 +400,10 @@ def _convert_files(files):
# TypeError about being unable to coerce None.
raise TypeError(
(
"`files` argument must be a sequence of tuples of (file_name, file_obj)"
" or (file_name, content_type, file_obj), but the {!r} tuple"
" has length {}: {!r}"
"`files` argument must be a sequence of tuples of"
" (file_name, file_obj) or"
" (file_name, content_type, file_obj),"
" but the {!r} tuple has length {}: {!r}"
).format(param, len(val), val),
)
else:
Expand Down

0 comments on commit ebe28ff

Please sign in to comment.