aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrendan Jackman <brendan.jackman@arm.com>2017-12-07 14:36:47 +0000
committermarcbonnici <marc.bonnici@arm.com>2017-12-07 15:37:49 +0000
commit8032abc8057092a73ce91abf82a719329d2e4aa4 (patch)
tree784c26f06063b982d8ad5c1f998484f2972d2039
parent3337cd477eceee7e4ba850b9ac8a0faadf6cbd66 (diff)
framework/run: Store RunInfo attributes from constructor
-rw-r--r--wa/framework/run.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/wa/framework/run.py b/wa/framework/run.py
index 16323210..badbad06 100644
--- a/wa/framework/run.py
+++ b/wa/framework/run.py
@@ -41,12 +41,12 @@ class RunInfo(object):
def __init__(self, run_name=None, project=None, project_stage=None,
start_time=None, end_time=None, duration=None):
self.uuid = uuid.uuid4()
- self.run_name = None
- self.project = None
- self.project_stage = None
- self.start_time = None
- self.end_time = None
- self.duration = None
+ self.run_name = run_name
+ self.project = project
+ self.project_stage = project_stage
+ self.start_time = start_time
+ self.end_time = end_time
+ self.duration = duration
def to_pod(self):
d = copy(self.__dict__)