[ostree] ostbuild: Fix typos in component lookup path
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] ostbuild: Fix typos in component lookup path
- Date: Mon, 21 May 2012 22:42:45 +0000 (UTC)
commit 95f66e1157039ba8a3b55ebb31cea0cb12db0f37
Author: Colin Walters <walters verbum org>
Date: Mon May 21 18:41:59 2012 -0400
ostbuild: Fix typos in component lookup path
src/ostbuild/pyostbuild/builtins.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/ostbuild/pyostbuild/builtins.py b/src/ostbuild/pyostbuild/builtins.py
index db8b009..5b7b87d 100755
--- a/src/ostbuild/pyostbuild/builtins.py
+++ b/src/ostbuild/pyostbuild/builtins.py
@@ -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):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]