model.py : remove unused inheritable_attributes dictionary

References to the inheritable_attributes dictionary constructed here
were removed with Ia44c8df825098b93efb4f9c9bfd43275b6d74378.

Since it is unused, refactor this out to avoid confusion over why it's
there.

Change-Id: If0be3e19f43aa4c100a8720ceec2ae9a9a12e5e8
This commit is contained in:
Ian Wienand 2020-08-24 11:35:53 +10:00
parent 2d46288a25
commit ee2c1e3abd
1 changed files with 2 additions and 4 deletions

View File

@ -1230,11 +1230,9 @@ class Job(ConfigObject):
queued=False,
)
self.inheritable_attributes = {}
self.inheritable_attributes.update(self.context_attributes)
self.inheritable_attributes.update(self.execution_attributes)
self.attributes = {}
self.attributes.update(self.inheritable_attributes)
self.attributes.update(self.context_attributes)
self.attributes.update(self.execution_attributes)
self.attributes.update(self.other_attributes)
self.name = name