summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-04-17 17:24:55 +0200
committerCarl Hetherington <cth@carlh.net>2024-04-17 17:24:55 +0200
commit2efeebfa20aa59a39c795f5323eb3d8728bfbe19 (patch)
tree15b3cf89be4d3781867a0f4311ecc9c025ae38ee
parent91a5e88c48ae01fe725cb8ea76bc56c24f7dcf3a (diff)
Clarify.
-rwxr-xr-xcdist4
1 files changed, 2 insertions, 2 deletions
diff --git a/cdist b/cdist
index 741d3a5..7f2b720 100755
--- a/cdist
+++ b/cdist
@@ -1138,8 +1138,8 @@ class Tree:
Called on the 'main' project tree (-p on the command line) to build all dependencies.
options: either from command line (for top-level tree) or from parent's dependencies() (for other trees)
"""
- for i in self.dependencies(options):
- i[0].build(i[1])
+ for dependency, dependency_options in self.dependencies(options):
+ dependency.build(dependency_options)
def build(self, options, for_package=False):
"""