Loglevel arguments not parsed but accessed #646
This commit is contained in:
		
					parent
					
						
							
								fc79fe86a2
							
						
					
				
			
			
				commit
				
					
						fe870ba8ba
					
				
			
		
					 2 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -434,7 +434,7 @@ def get_parsers():
 | 
			
		|||
 | 
			
		||||
 | 
			
		||||
def handle_loglevel(args):
 | 
			
		||||
    if args.quiet:
 | 
			
		||||
    if hasattr(args, 'quiet') and args.quiet:
 | 
			
		||||
        args.verbose = _verbosity_level_off
 | 
			
		||||
 | 
			
		||||
    logging.root.setLevel(_verbosity_level[args.verbose])
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,6 +1,9 @@
 | 
			
		|||
Changelog
 | 
			
		||||
---------
 | 
			
		||||
 | 
			
		||||
next:
 | 
			
		||||
	* Core: Fix quiet argument access for bare cdist command (Darko Poljak)
 | 
			
		||||
 | 
			
		||||
4.8.1: 2018-03-09
 | 
			
		||||
	* 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)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue