diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-04-05 14:56:28 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-04-05 15:16:15 +0900 |
commit | 638344e45dba1b2f7ce9240e3d3d7944212c529f (patch) | |
tree | d690c4a8ccba51073d73a7386ed73a79ac52b76a | |
parent | daffe49827e1d462a6aa230afcd188645198dfea (diff) | |
download | buildstream-638344e45dba1b2f7ce9240e3d3d7944212c529f.tar.gz |
element.py: Updating comment for _assemble_done()
This was misinforming that it is only called in a subprocess,
it also needs to be called in the main process, also point out
that updating element state is a side effect of this.
-rw-r--r-- | buildstream/element.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/buildstream/element.py b/buildstream/element.py index 24ea89664..2e3ae6a56 100644 --- a/buildstream/element.py +++ b/buildstream/element.py @@ -885,7 +885,9 @@ class Element(Plugin): # _assemble_done(): # # This is called in the main process after the element has been assembled - # in a subprocess. + # in both the main process and in a subprocess. + # + # This will result in updating the element state. # def _assemble_done(self): assert self.__assemble_scheduled |