diff options
Diffstat (limited to 'buildstream/_context.py')
-rw-r--r-- | buildstream/_context.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/buildstream/_context.py b/buildstream/_context.py index 29a016065..1d049f7a6 100644 --- a/buildstream/_context.py +++ b/buildstream/_context.py @@ -122,17 +122,9 @@ class Context(): self.pull_buildtrees = None # Boolean, whether we double-check with the user that they meant to - # remove a workspace directory. - self.prompt_workspace_close_remove_dir = None - - # Boolean, whether we double-check with the user that they meant to # close the workspace when they're using it to access the project. self.prompt_workspace_close_project_inaccessible = None - # Boolean, whether we double-check with the user that they meant to do - # a hard reset of a workspace, potentially losing changes. - self.prompt_workspace_reset_hard = None - # Whether elements must be rebuilt when their dependencies have changed self._strict_build_plan = None @@ -260,16 +252,10 @@ class Context(): prompt = _yaml.node_get( defaults, Mapping, 'prompt') _yaml.node_validate(prompt, [ - 'really-workspace-close-remove-dir', 'really-workspace-close-project-inaccessible', - 'really-workspace-reset-hard', ]) - self.prompt_workspace_close_remove_dir = _node_get_option_str( - prompt, 'really-workspace-close-remove-dir', ['ask', 'yes']) == 'ask' self.prompt_workspace_close_project_inaccessible = _node_get_option_str( prompt, 'really-workspace-close-project-inaccessible', ['ask', 'yes']) == 'ask' - self.prompt_workspace_reset_hard = _node_get_option_str( - prompt, 'really-workspace-reset-hard', ['ask', 'yes']) == 'ask' # Load per-projects overrides self._project_overrides = _yaml.node_get(defaults, Mapping, 'projects', default_value={}) |