diff options
author | Darius Makovsky <traveltissues@protonmail.com> | 2019-11-06 14:35:45 +0000 |
---|---|---|
committer | Darius Makovsky <traveltissues@protonmail.com> | 2019-11-06 15:21:21 +0000 |
commit | dfb2d8ece27329918c713c26b470c619a7609b22 (patch) | |
tree | bc9488f839ebf74ad6119a35c8b10821a92449e9 | |
parent | 3f2a0604c929cf73f238190cfcc8c00dded9d8ea (diff) | |
download | buildstream-traveltissues/mr3.tar.gz |
[wip] avoid the callback for non-incremental buildtraveltissues/mr3
-rw-r--r-- | src/buildstream/element.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/buildstream/element.py b/src/buildstream/element.py index 9a0a71a97..a09fcc4e5 100644 --- a/src/buildstream/element.py +++ b/src/buildstream/element.py @@ -2435,13 +2435,13 @@ class Element(Plugin): if not (workspace and workspace.prepared): self.prepare(sandbox) - if workspace: - def mark_workspace_prepared(): - workspace.prepared = True - - # Defer workspace.prepared setting until pending batch commands - # have been executed. - sandbox._callback(mark_workspace_prepared) +# if workspace: +# def mark_workspace_prepared(): +# workspace.prepared = True +# +# # Defer workspace.prepared setting until pending batch commands +# # have been executed. +# sandbox._callback(mark_workspace_prepared) # __preflight(): # |