ostbuild: Fix typos in component lookup path

This commit is contained in:
Colin Walters 2012-05-21 18:41:59 -04:00
parent 9bd36f9bff
commit 95f66e1157

View File

@ -134,9 +134,9 @@ class Builtin(object):
target_snapshot = self.snapshot
else:
target_snapshot = in_snapshot
component = self.find_component_in_snapshot(self, target_snapshot)
component = self.find_component_in_snapshot(name, target_snapshot)
if component is None:
fatal("Couldn't find component '%s' in manifest" % (component_name, ))
fatal("Couldn't find component '%s' in manifest" % (name, ))
return component
def get_expanded_component(self, name):