BUGFIX: remote path for explorer in __object variable
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								2a0f7512b7
							
						
					
				
			
			
				commit
				
					
						1e31721ad9
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -122,7 +122,7 @@ class Explorer(object):
 | 
				
			||||||
        cdist_type = cdist_object.type
 | 
					        cdist_type = cdist_object.type
 | 
				
			||||||
        env = self.env.copy()
 | 
					        env = self.env.copy()
 | 
				
			||||||
        env.update({
 | 
					        env.update({
 | 
				
			||||||
            '__object': cdist_object.absolute_path,
 | 
					            '__object': os.path.join(self.remote.object_path, cdist_object.path),
 | 
				
			||||||
            '__object_id': cdist_object.object_id,
 | 
					            '__object_id': cdist_object.object_id,
 | 
				
			||||||
            '__object_fq': cdist_object.path,
 | 
					            '__object_fq': cdist_object.path,
 | 
				
			||||||
            '__type_explorer': os.path.join(self.remote.type_path, cdist_type.explorer_path)
 | 
					            '__type_explorer': os.path.join(self.remote.type_path, cdist_type.explorer_path)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue