Define the internal noop job

So that we can minimize the special casing of the internal 'noop'
job, automatically instantiate it in each layout.

Change-Id: Iee4111e481bd604f56c7791f3c35fd30e9741528
This commit is contained in:
James E. Blair 2016-11-30 08:38:27 -08:00
parent 0a7d3db25a
commit fef88ec289
1 changed files with 1 additions and 1 deletions

View File

@ -1698,7 +1698,7 @@ class Layout(object):
# elements are aspects of that job with different matchers
# that override some attribute of the job. These aspects all
# inherit from the reference definition.
self.jobs = {}
self.jobs = {'noop': [Job('noop')]}
self.nodesets = {}
def getJob(self, name):