mirror of
https://github.com/httpie/cli.git
synced 2025-06-20 09:37:45 +02:00
PEP8
This commit is contained in:
parent
299250b3c3
commit
5a5b42340f
@ -214,7 +214,7 @@ def program(
|
|||||||
follow=args.follow
|
follow=args.follow
|
||||||
)
|
)
|
||||||
if (not env.stdout_isatty
|
if (not env.stdout_isatty
|
||||||
and exit_status != ExitStatus.SUCCESS):
|
and exit_status != ExitStatus.SUCCESS):
|
||||||
env.log_error(
|
env.log_error(
|
||||||
f'HTTP {message.raw.status} {message.raw.reason}',
|
f'HTTP {message.raw.status} {message.raw.reason}',
|
||||||
level='warning'
|
level='warning'
|
||||||
@ -255,7 +255,7 @@ def program(
|
|||||||
downloader.failed()
|
downloader.failed()
|
||||||
|
|
||||||
if (not isinstance(args, list) and args.output_file
|
if (not isinstance(args, list) and args.output_file
|
||||||
and args.output_file_specified):
|
and args.output_file_specified):
|
||||||
args.output_file.close()
|
args.output_file.close()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user