forked from extern/httpie-cli
Added changes suggested in the PR review
This commit is contained in:
parent
61e7cd786e
commit
6421c145d9
@ -11,7 +11,7 @@ This project adheres to `Semantic Versioning <https://semver.org/>`_.
|
||||
* Added support for combining cookies specified on the CLI and in a session file (`#932`_).
|
||||
* Added out of the box SOCKS support with no extra installation (`#904`_).
|
||||
* Removed Tox testing entirely (`#943`_).
|
||||
* Added a -quiet flag to enforce silent behaviour.
|
||||
* Added a ``--quiet`` flag to enforce silent behaviour.
|
||||
|
||||
|
||||
`2.2.0`_ (2020-06-18)
|
||||
|
@ -165,7 +165,6 @@ class HTTPieArgumentParser(argparse.ArgumentParser):
|
||||
self.env.stdout_isatty = False
|
||||
|
||||
if self.args.quiet:
|
||||
self.env.devnull = open(DEVNULL_PATH, 'w')
|
||||
self.env.stdout = self.env.devnull
|
||||
self.env.stderr = self.env.devnull
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user