Linter fixes.

This commit is contained in:
Jake Moshenko 2016-11-18 00:04:20 -05:00
parent f6fe9023a4
commit 5935e93eb8
4 changed files with 36 additions and 36 deletions

View file

@ -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.