mirror of
https://github.com/httpie/cli.git
synced 2024-11-28 08:38:44 +02:00
Cleanup
This commit is contained in:
parent
d4067fcb6d
commit
7fd46e0b0d
@ -189,7 +189,7 @@ def http(*args, **kwargs):
|
||||
if '--debug' not in args:
|
||||
if '--traceback' not in args:
|
||||
extra_args.append('--traceback')
|
||||
if '--timeout' not in ' '.join(args):
|
||||
if not any('--timeout' in arg for arg in args):
|
||||
extra_args.append('--timeout=3')
|
||||
args = extra_args + args
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user