Linter fixes.
This commit is contained in:
parent
f6fe9023a4
commit
5935e93eb8
4 changed files with 36 additions and 36 deletions
|
@ -430,9 +430,8 @@ class BuildComponent(BaseComponent):
|
|||
raise Return()
|
||||
|
||||
# If there is an active build, write the heartbeat to its status.
|
||||
build_status = self._build_status
|
||||
if build_status is not None:
|
||||
with build_status as status_dict:
|
||||
if self._build_status is not None:
|
||||
with self._build_status as status_dict:
|
||||
status_dict['heartbeat'] = int(time.time())
|
||||
|
||||
# Mark the build item.
|
||||
|
|
Reference in a new issue