forked from ungleich-public/cdist
		
	remove type_explorer information from path
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								1810462989
							
						
					
				
			
			
				commit
				
					
						cf97fd9837
					
				
			
		
					 1 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -92,7 +92,6 @@ class Path:
 | 
			
		|||
        self.object_base_dir = os.path.join(self.out_dir, "object")
 | 
			
		||||
        self.bin_dir = os.path.join(self.out_dir, "bin")
 | 
			
		||||
 | 
			
		||||
        os.environ['__cdist_out_dir'] = self.out_dir
 | 
			
		||||
 | 
			
		||||
        # List of type explorers transferred
 | 
			
		||||
        self.type_explorers_transferred = {}
 | 
			
		||||
| 
						 | 
				
			
			@ -116,6 +115,10 @@ class Path:
 | 
			
		|||
        shutil.move(self.temp_dir, self.cache_dir)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def __init_env(self):
 | 
			
		||||
        """Setup environment"""
 | 
			
		||||
        os.environ['__cdist_out_dir'] = self.out_dir
 | 
			
		||||
 | 
			
		||||
    def __init_out_dirs(self):
 | 
			
		||||
        """Initialise output directory structure"""
 | 
			
		||||
        os.mkdir(self.out_dir)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue