diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-10-02 15:59:41 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-10-08 17:03:36 +0900 |
commit | 62da31935c90c93d41dd778a3b667490cd2287ea (patch) | |
tree | 3228c2a17e489002bedabc42cbf9869f96ac8d89 /buildstream/_pipeline.py | |
parent | 19d501fbf682fc231c73599cc029f43dad41a479 (diff) | |
download | buildstream-62da31935c90c93d41dd778a3b667490cd2287ea.tar.gz |
project.py: More consistent api for workspacesremove-variants
Renamed _workspaces() -> _list_workspaces(), and changed local
cache of workspaces from __workspaces -> _workspaces.
We only really use the double underscore when there is a concern
for freeing up namespace for public subclassing.
Diffstat (limited to 'buildstream/_pipeline.py')
-rw-r--r-- | buildstream/_pipeline.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_pipeline.py b/buildstream/_pipeline.py index d153335e1..32c00cf60 100644 --- a/buildstream/_pipeline.py +++ b/buildstream/_pipeline.py @@ -163,7 +163,7 @@ class Pipeline(): self.total_elements = len(list(self.dependencies(Scope.ALL))) - for element_name, source, workspace in project._workspaces(): + for element_name, source, workspace in project._list_workspaces(): element = self.target.search(Scope.ALL, element_name) if element is None: |