and finally also adjust the requirement itself

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-10-15 23:40:11 +02:00
parent 950424d478
commit 3c31b4f9a3

View file

@ -166,6 +166,9 @@ class Emulator(object):
# Remove / if existent in object id # Remove / if existent in object id
requirement_object_id = requirement_object_id.lstrip('/') 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) self.cdist_object.requirements.append(requirement)
# Record / Append source # Record / Append source