summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin David <valentin.david@codethink.co.uk>2018-06-27 17:03:57 +0200
committerValentin David <valentin.david@codethink.co.uk>2018-07-02 16:24:53 +0200
commitd97b2c1ee7ef4eab2fb1f11079fb22e779693f08 (patch)
treeb6c1cdd36ac29d676e2ffe0c030cd5c6ffea6d9c
parentf3ed208a651a5925bafc010d313b15a046f9c497 (diff)
downloadbuildstream-d97b2c1ee7ef4eab2fb1f11079fb22e779693f08.tar.gz
buildstream/_project.py: Document Project._load_pass.
-rw-r--r--buildstream/_project.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/buildstream/_project.py b/buildstream/_project.py
index b4aa1efe6..67eba0fa7 100644
--- a/buildstream/_project.py
+++ b/buildstream/_project.py
@@ -479,6 +479,16 @@ class Project():
self._shell_host_files.append(mount)
+ # _load_pass():
+ #
+ # Loads parts of the project configuration that are different
+ # for first and second pass configurations.
+ #
+ # Args:
+ # config (dict) - YaML node of the configuration file.
+ # output (ProjectConfig) - ProjectConfig to load configuration onto.
+ # ignore_unknown (bool) - Whether option loader shoud ignore unknown options.
+ #
def _load_pass(self, config, output, ignore_unknown):
# Element and Source type configurations will be composited later onto