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:
James E. Blair 2017-06-14 05:55:10 -07:00
parent f6c57effb7
commit a167b663aa
2 changed files with 1 additions and 3 deletions

View File

@ -738,8 +738,7 @@ class PipelineManager(object):
# pipeline, use the dynamic layout if available, otherwise,
# fall back to the current static layout as a best
# approximation.
layout = (item.layout or
item.current_build_set.layout or
layout = (item.current_build_set.layout or
self.pipeline.layout)
if not layout.hasProject(item.change.project):

View File

@ -1339,7 +1339,6 @@ class QueueItem(object):
self.quiet = False
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.layout = None # This item's shadow layout
self.job_graph = None
def __repr__(self):