mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-18 20:11:20 +00:00
framework/configuration: Fix missing return statements for Jobspec properties
This commit is contained in:
parent
bd9189f26a
commit
a688c9120e
@ -928,12 +928,12 @@ class JobSpec(Configuration):
|
|||||||
@property
|
@property
|
||||||
def section_id(self):
|
def section_id(self):
|
||||||
if self.id is not None:
|
if self.id is not None:
|
||||||
self.id.rsplit('-', 1)[0]
|
return self.id.rsplit('-', 1)[0]
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def workload_id(self):
|
def workload_id(self):
|
||||||
if self.id is not None:
|
if self.id is not None:
|
||||||
self.id.rsplit('-', 1)[-1]
|
return self.id.rsplit('-', 1)[-1]
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super(JobSpec, self).__init__()
|
super(JobSpec, self).__init__()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user