Remove item.layout
We're using item.current_build_set.layout everywhere; it looks like this isn't actually needed. Change-Id: I5b16f63a8e8092c25a80d3eac9868be3893e89f6
This commit is contained in:
parent
f6c57effb7
commit
a167b663aa
|
@ -738,8 +738,7 @@ class PipelineManager(object):
|
||||||
# pipeline, use the dynamic layout if available, otherwise,
|
# pipeline, use the dynamic layout if available, otherwise,
|
||||||
# fall back to the current static layout as a best
|
# fall back to the current static layout as a best
|
||||||
# approximation.
|
# approximation.
|
||||||
layout = (item.layout or
|
layout = (item.current_build_set.layout or
|
||||||
item.current_build_set.layout or
|
|
||||||
self.pipeline.layout)
|
self.pipeline.layout)
|
||||||
|
|
||||||
if not layout.hasProject(item.change.project):
|
if not layout.hasProject(item.change.project):
|
||||||
|
|
|
@ -1339,7 +1339,6 @@ class QueueItem(object):
|
||||||
self.quiet = False
|
self.quiet = False
|
||||||
self.active = False # Whether an item is within an active window
|
self.active = False # Whether an item is within an active window
|
||||||
self.live = True # Whether an item is intended to be processed at all
|
self.live = True # Whether an item is intended to be processed at all
|
||||||
self.layout = None # This item's shadow layout
|
|
||||||
self.job_graph = None
|
self.job_graph = None
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
|
|
Loading…
Reference in New Issue