diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-04-18 19:25:45 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-04-18 20:02:25 +0900 |
commit | e18b7e5b196e76244adee919e005c41a597a4513 (patch) | |
tree | 6a46ce372242fee18bcce411eb496444bf9103e2 | |
parent | 268340a56d81ede1bc9377a23a38d426f33e4f1f (diff) | |
download | buildstream-tristan/scheduler-private-refactor.tar.gz |
_scheduler/fetchqueue.py: Adhere to policy on private symbolstristan/scheduler-private-refactor
This is a part of issue #285
-rw-r--r-- | buildstream/_scheduler/fetchqueue.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/buildstream/_scheduler/fetchqueue.py b/buildstream/_scheduler/fetchqueue.py index 2e27f8df0..c2bceb270 100644 --- a/buildstream/_scheduler/fetchqueue.py +++ b/buildstream/_scheduler/fetchqueue.py @@ -37,7 +37,7 @@ class FetchQueue(Queue): def __init__(self, scheduler, skip_cached=False): super().__init__(scheduler) - self.skip_cached = skip_cached + self._skip_cached = skip_cached def process(self, element): for source in element.sources(): @@ -48,7 +48,7 @@ class FetchQueue(Queue): element._update_state() # Optionally skip elements that are already in the artifact cache - if self.skip_cached: + if self._skip_cached: if not element._can_query_cache(): return QueueStatus.WAIT |