Skip to content

Commit

Permalink
Pylint error fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Jayasimha Raghavan authored and Jayasimha Raghavan committed Jun 20, 2024
1 parent 129ef79 commit da2a995
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion unskript-ctl/unskript_ctl_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ def display_check_result(self, checks_output):
# uploader.rename_and_upload_failed_objects(checks_output)
now = datetime.now()
rfc3339_timestamp = now.isoformat() + 'Z'
parent_folder = '/tmp'
if self.uglobals.get('CURRENT_EXECUTION_RUN_DIRECTORY'):
parent_folder = self.uglobals.get('CURRENT_EXECUTION_RUN_DIRECTORY')
dashboard_checks_output_file = f"dashboard_{rfc3339_timestamp}.json"
Expand Down Expand Up @@ -973,4 +974,4 @@ def create_checks_for_matrix_argument(self, list_of_actions: list):
if self.info_globals and len(self.info_globals):
action_list = self._common.create_checks_for_matrix_argument(actions=list_of_actions,
matrix=self.matrix)
return action_list
return action_list

0 comments on commit da2a995

Please sign in to comment.