mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Set the log level to ERROR when two or more quiet flags are passed
Fixes pypa/pip#2670
This commit is contained in:
parent
0ed87f61a5
commit
4b6bdf0210
|
@ -109,7 +109,10 @@ class Command(object):
|
|||
options, args = self.parse_args(args)
|
||||
|
||||
if options.quiet:
|
||||
level = "WARNING"
|
||||
if options.quiet == 1:
|
||||
level = "WARNING"
|
||||
else:
|
||||
level = "ERROR"
|
||||
elif options.verbose:
|
||||
level = "DEBUG"
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue