Loglevel arguments not parsed but accessed #646

This commit is contained in:
Darko Poljak 2018-03-10 11:12:31 +01:00
parent fc79fe86a2
commit fe870ba8ba
2 changed files with 4 additions and 1 deletions

View file

@ -434,7 +434,7 @@ def get_parsers():
def handle_loglevel(args): def handle_loglevel(args):
if args.quiet: if hasattr(args, 'quiet') and args.quiet:
args.verbose = _verbosity_level_off args.verbose = _verbosity_level_off
logging.root.setLevel(_verbosity_level[args.verbose]) logging.root.setLevel(_verbosity_level[args.verbose])

View file

@ -1,6 +1,9 @@
Changelog Changelog
--------- ---------
next:
* Core: Fix quiet argument access for bare cdist command (Darko Poljak)
4.8.1: 2018-03-09 4.8.1: 2018-03-09
* Type __consul: Add option for directly downloading on target host (Darko Poljak) * Type __consul: Add option for directly downloading on target host (Darko Poljak)
* Core: Add -4 and -6 params to force IPv4, IPv6 addresses respectively (Darko Poljak) * Core: Add -4 and -6 params to force IPv4, IPv6 addresses respectively (Darko Poljak)