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/_frontend/main.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/_frontend/main.py')
-rw-r--r-- | buildstream/_frontend/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_frontend/main.py b/buildstream/_frontend/main.py index d21e4031f..27bc389bb 100644 --- a/buildstream/_frontend/main.py +++ b/buildstream/_frontend/main.py @@ -668,7 +668,7 @@ def workspace_list(app): sys.exit(1) workspaces = [] - for element_name, source_index, directory in project._workspaces(): + for element_name, source_index, directory in project._list_workspaces(): workspace = { 'element': element_name, 'directory': directory, |