forked from ungleich-public/cdist
		
	make remote_cmd a new list
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								f21ce6a0db
							
						
					
				
			
			
				commit
				
					
						2c15069d96
					
				
			
		
					 1 changed files with 1 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -344,9 +344,7 @@ class Cdist:
 | 
			
		|||
 | 
			
		||||
      explorers = self.list_type_explorers(type)
 | 
			
		||||
      for explorer in explorers:
 | 
			
		||||
         # THIS IS A BUG, because remote_cmd is NOT a copy
 | 
			
		||||
         remote_cmd = cmd
 | 
			
		||||
         remote_cmd.append(os.path.join(self.remote_type_explorer_dir(type), explorer))
 | 
			
		||||
         remote_cmd = cmd + os.path.join(self.remote_type_explorer_dir(type), explorer)
 | 
			
		||||
 | 
			
		||||
         output = os.path.join(self.type_explorer_output_dir(cdist_object), explorer)
 | 
			
		||||
         output_fd = open(output, mode='w')
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue