diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2018-06-04 18:06:40 +0100 |
---|---|---|
committer | knownexus <phillip.smyth@codethink.co.uk> | 2018-07-31 17:31:36 +0100 |
commit | f4573df3de42255f330020804bc62512eb5339d4 (patch) | |
tree | 50ce490bd2005b5f9a70c8fe747ac34b5f8f95e5 /buildstream/_scheduler/queues/buildqueue.py | |
parent | b3a68e2883e4217c807603181db14d8f1d813f17 (diff) | |
download | buildstream-f4573df3de42255f330020804bc62512eb5339d4.tar.gz |
Convert call-sites of Element._cached() that assume success
When we later add cached failures it needs to not treat them as successes.
Diffstat (limited to 'buildstream/_scheduler/queues/buildqueue.py')
-rw-r--r-- | buildstream/_scheduler/queues/buildqueue.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_scheduler/queues/buildqueue.py b/buildstream/_scheduler/queues/buildqueue.py index 376ef5ae2..691b9ff80 100644 --- a/buildstream/_scheduler/queues/buildqueue.py +++ b/buildstream/_scheduler/queues/buildqueue.py @@ -43,7 +43,7 @@ class BuildQueue(Queue): # Keep it in the queue. return QueueStatus.WAIT - if element._cached(): + if element._cached_success(): return QueueStatus.SKIP if not element._buildable(): |