do not setup __debug - let the user do if required - do not interfere type with core
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
		
					parent
					
						
							
								8f1735fab2
							
						
					
				
			
			
				commit
				
					
						c9ae06db64
					
				
			
		
					 3 changed files with 2 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -92,9 +92,6 @@ class Code(object):
 | 
			
		|||
            '__global': self.local.out_path,
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if log.getEffectiveLevel() == logging.DEBUG:
 | 
			
		||||
            self.env.update({'__debug': "yes" })
 | 
			
		||||
 | 
			
		||||
    def _run_gencode(self, cdist_object, which):
 | 
			
		||||
        cdist_type = cdist_object.cdist_type
 | 
			
		||||
        script = os.path.join(self.local.type_path, getattr(cdist_type, 'gencode_%s_path' % which))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue