Benjamin Schubert pushed to branch bschubert/pipeline at BuildStream / buildstream
Commits:
-
7f978420
by Benjamin Schubert at 2019-01-07T21:16:34Z
2 changed files:
Changes:
... | ... | @@ -43,10 +43,6 @@ class FetchQueue(Queue): |
43 | 43 |
element._fetch()
|
44 | 44 |
|
45 | 45 |
def status(self, element):
|
46 |
- # state of dependencies may have changed, recalculate element state
|
|
47 |
- # FIXME: we should never be doing this
|
|
48 |
- element._update_state()
|
|
49 |
- |
|
50 | 46 |
if not element._is_required():
|
51 | 47 |
# Artifact is not currently required but it may be requested later.
|
52 | 48 |
# Keep it in the queue.
|
... | ... | @@ -38,10 +38,6 @@ class PullQueue(Queue): |
38 | 38 |
raise SkipJob(self.action_name)
|
39 | 39 |
|
40 | 40 |
def status(self, element):
|
41 |
- # state of dependencies may have changed, recalculate element state
|
|
42 |
- # FIXME: this should never be needed
|
|
43 |
- element._update_state()
|
|
44 |
- |
|
45 | 41 |
if not element._is_required():
|
46 | 42 |
# Artifact is not currently required but it may be requested later.
|
47 | 43 |
# Keep it in the queue.
|