summaryrefslogtreecommitdiffstats
path: root/dovetail/report.py
diff options
context:
space:
mode:
authorMatthewLi <matthew.lijun@huawei.com>2016-12-18 20:48:56 -0500
committerMatthewLi <matthew.lijun@huawei.com>2016-12-20 02:34:57 -0500
commit06bc12f0b6212ee5e9a29468da327d52ad057fac (patch)
tree452448c30b0ff330e8154358edc5fb08368531fa /dovetail/report.py
parent18ed566c5e1a379d5b87d3838dea82a9481ba61b (diff)
bugfix for duration missed
JIRA: DOVETAIL-162 Change-Id: Idc78790e49ab3e3552d45b902cfdf8cc37fd2847 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
Diffstat (limited to 'dovetail/report.py')
-rw-r--r--dovetail/report.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dovetail/report.py b/dovetail/report.py
index 1f970b29..6e799859 100644
--- a/dovetail/report.py
+++ b/dovetail/report.py
@@ -98,7 +98,7 @@ class Report:
report_txt += 'Validation ID: %s\n' % report_data['validation_ID']
report_txt += 'Upload Date: %s\n' % report_data['upload_date']
if report_data['duration'] == 0:
- report_txt += 'Duration: %s\n\n' % 'NA'
+ report_txt += 'Duration: %s\n\n' % 'N/A'
else:
report_txt += 'Duration: %.2f s\n\n' % report_data['duration']