forked from ungleich-public/cdist
		
	use warning loglevel by default
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								6c9bf9e5d7
							
						
					
				
			
			
				commit
				
					
						d8da7635de
					
				
			
		
					 2 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -97,7 +97,7 @@ def commandline():
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if __name__ == "__main__":
 | 
					if __name__ == "__main__":
 | 
				
			||||||
    try:
 | 
					    try:
 | 
				
			||||||
        logging.basicConfig(level=logging.INFO, format='%(levelname)s: %(message)s')
 | 
					        logging.basicConfig(format='%(levelname)s: %(message)s')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if re.match(TYPE_PREFIX, os.path.basename(sys.argv[0])):
 | 
					        if re.match(TYPE_PREFIX, os.path.basename(sys.argv[0])):
 | 
				
			||||||
            import cdist.emulator
 | 
					            import cdist.emulator
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -65,6 +65,7 @@ class Config:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def run_global_explores(self):
 | 
					    def run_global_explores(self):
 | 
				
			||||||
        """Run global explorers"""
 | 
					        """Run global explorers"""
 | 
				
			||||||
 | 
					        log.info("Running global explorers")
 | 
				
			||||||
        explorers = self.path.list_global_explorers()
 | 
					        explorers = self.path.list_global_explorers()
 | 
				
			||||||
        if(len(explorers) == 0):
 | 
					        if(len(explorers) == 0):
 | 
				
			||||||
            raise CdistError("No explorers found in", self.path.global_explorer_dir)
 | 
					            raise CdistError("No explorers found in", self.path.global_explorer_dir)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue