Commit ea923581 authored by hardy's avatar hardy

bugfix : use the instance attribute correctly

parent 14679eca
...@@ -536,7 +536,7 @@ def main(): ...@@ -536,7 +536,7 @@ def main():
buildid=sys.argv[5] buildid=sys.argv[5]
status=sys.argv[6] status=sys.argv[6]
htmlDash=Dashboard() htmlDash=Dashboard()
if mr in self.mr_list: if mr in htmlDash.mr_list:
htmlDash.Build('singleMR',mr,'/tmp/MR'+mr+'_index.html') htmlDash.Build('singleMR',mr,'/tmp/MR'+mr+'_index.html')
htmlDash.CopyToS3('/tmp/MR'+mr+'_index.html','oaitestdashboard','MR'+mr+'/index.html') htmlDash.CopyToS3('/tmp/MR'+mr+'_index.html','oaitestdashboard','MR'+mr+'/index.html')
htmlDash.Build('Tests','0000','/tmp/Tests_index.html') htmlDash.Build('Tests','0000','/tmp/Tests_index.html')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment