and finally also adjust the requirement itself
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								950424d478
							
						
					
				
			
			
				commit
				
					
						3c31b4f9a3
					
				
			
		
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -166,6 +166,9 @@ class Emulator(object):
 | 
			
		|||
 | 
			
		||||
                # Remove / if existent in object id
 | 
			
		||||
                requirement_object_id = requirement_object_id.lstrip('/')
 | 
			
		||||
 | 
			
		||||
                # Construct cleaned up requirement with only one / :-)
 | 
			
		||||
                requirement = requirement_type_name + '/' + requirement_object_id
 | 
			
		||||
                self.cdist_object.requirements.append(requirement)
 | 
			
		||||
 | 
			
		||||
        # Record / Append source
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue