diff options
author | Jürg Billeter <j@bitron.ch> | 2018-01-15 08:52:27 +0100 |
---|---|---|
committer | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2018-01-16 12:58:39 +0000 |
commit | 03412a9e8a13e6c5f50dec95e067c2ae6900d08f (patch) | |
tree | 2dc7091abd056c761e39c8dc20a294af177c4505 /buildstream/_scheduler/trackqueue.py | |
parent | d6ebd6cea97e76e79c2437d4ae93944a983e5727 (diff) | |
download | buildstream-juerg/source-state.tar.gz |
Use explicit source state updatesjuerg/source-state
This adds the _update_state() method to the Source class, similar to the
corresponding method in the Element class.
Diffstat (limited to 'buildstream/_scheduler/trackqueue.py')
-rw-r--r-- | buildstream/_scheduler/trackqueue.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/buildstream/_scheduler/trackqueue.py b/buildstream/_scheduler/trackqueue.py index 3c1521f7b..3f35aff47 100644 --- a/buildstream/_scheduler/trackqueue.py +++ b/buildstream/_scheduler/trackqueue.py @@ -83,13 +83,8 @@ class TrackQueue(Queue): "tracked source to file {}: {}" .format(source, fullname, e)) - # Forcefully recalculate the element's consistency state after successfully - # tracking, this is avoid a following fetch queue operating on the sources - # if the tracked ref is cached as a result. - # context = element._get_context() context._push_message_depth(True) - element._consistency(recalculate=True) element._update_state() context._pop_message_depth() |