1
0
mirror of https://github.com/httpie/cli.git synced 2024-11-24 08:22:22 +02:00

remove unnecessary partial call

This commit is contained in:
Isman Firmansyah 2012-02-29 21:35:20 +07:00
parent 553941c98d
commit b752b59d92

View File

@ -35,8 +35,8 @@ def _get_highlighter(style_name='solarized'):
def prettify_http(headers, style_name='solarized'): def prettify_http(headers, style_name='solarized'):
highlight = partial(_get_highlighter(style_name), lexer=HTTPLexer()) highlight = _get_highlighter(style_name)
return highlight(headers) return highlight(headers, lexer=HTTPLexer())
def prettify_body(content, content_type, style_name='solarized'): def prettify_body(content, content_type, style_name='solarized'):