Skip to content
Snippets Groups Projects
Commit e18b7e5b authored by Tristan Van Berkom's avatar Tristan Van Berkom
Browse files

_scheduler/fetchqueue.py: Adhere to policy on private symbols

This is a part of issue #285
parent 268340a5
No related branches found
No related tags found
Loading
Pipeline #
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment