Clarify. master github/master
authorCarl Hetherington <cth@carlh.net>
Wed, 17 Apr 2024 15:24:55 +0000 (17:24 +0200)
committerCarl Hetherington <cth@carlh.net>
Wed, 17 Apr 2024 15:24:55 +0000 (17:24 +0200)
cdist

diff --git a/cdist b/cdist
index 741d3a503382777878f3a03195e8e6e152e6713b..7f2b72086f2239cf4f8ce5d01889a2d7700d01ff 100755 (executable)
--- 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):
         """