1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-09-02 19:32:34 +01:00

Misc minor fixes.

This commit is contained in:
Sergei Trofimov
2017-03-22 15:17:14 +00:00
parent ebf917a8a9
commit 9c091f5339
2 changed files with 2 additions and 2 deletions

View File

@@ -118,7 +118,7 @@ class ExecutionContext(object):
def end_run(self): def end_run(self):
if self.successful_jobs: if self.successful_jobs:
if self.failed_jobs: if self.failed_jobs:
status = Satus.PARTIAL status = Status.PARTIAL
else: else:
status = Status.OK status = Status.OK
else: else:

View File

@@ -161,7 +161,7 @@ class RunOutput(Output):
def write_target_info(self, ti): def write_target_info(self, ti):
write_pod(ti.to_pod(), self.targetfile) write_pod(ti.to_pod(), self.targetfile)
def read_config(self): def read_target_config(self):
if not os.path.isfile(self.targetfile): if not os.path.isfile(self.targetfile):
return None return None
return TargetInfo.from_pod(read_pod(self.targetfile)) return TargetInfo.from_pod(read_pod(self.targetfile))