From 37761b8193d687b194bffaad900699d09b80c6e1 Mon Sep 17 00:00:00 2001 From: yelihua Date: Tue, 16 Jun 2020 11:06:21 +0800 Subject: [PATCH] fix the sensitive warning --- mindinsight/profiler/parser/step_trace_parser.py | 2 +- tests/utils/resource/profiler/aicore_intermediate_1_detail.csv | 0 tests/utils/resource/profiler/aicore_intermediate_1_type.csv | 0 tests/utils/resource/profiler/framework_raw_0.csv | 0 tests/utils/resource/profiler/framework_raw_1.csv | 0 tests/utils/resource/profiler/step_trace_raw_0_detail_time.csv | 0 tests/utils/resource/profiler/step_trace_raw_10_detail_time.csv | 0 7 files changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 tests/utils/resource/profiler/aicore_intermediate_1_detail.csv mode change 100644 => 100755 tests/utils/resource/profiler/aicore_intermediate_1_type.csv mode change 100644 => 100755 tests/utils/resource/profiler/framework_raw_0.csv mode change 100644 => 100755 tests/utils/resource/profiler/framework_raw_1.csv mode change 100644 => 100755 tests/utils/resource/profiler/step_trace_raw_0_detail_time.csv mode change 100644 => 100755 tests/utils/resource/profiler/step_trace_raw_10_detail_time.csv diff --git a/mindinsight/profiler/parser/step_trace_parser.py b/mindinsight/profiler/parser/step_trace_parser.py index 742223e..f683081 100644 --- a/mindinsight/profiler/parser/step_trace_parser.py +++ b/mindinsight/profiler/parser/step_trace_parser.py @@ -259,4 +259,4 @@ class StepTraceParser: csv_writer.writerow(self._header) for row_data in self._result: csv_writer.writerow(row_data) - os.chmod(self._output_path, stat.S_IREAD | stat.S_IWRITE) + os.chmod(self._output_path, stat.S_IREAD) diff --git a/tests/utils/resource/profiler/aicore_intermediate_1_detail.csv b/tests/utils/resource/profiler/aicore_intermediate_1_detail.csv old mode 100644 new mode 100755 diff --git a/tests/utils/resource/profiler/aicore_intermediate_1_type.csv b/tests/utils/resource/profiler/aicore_intermediate_1_type.csv old mode 100644 new mode 100755 diff --git a/tests/utils/resource/profiler/framework_raw_0.csv b/tests/utils/resource/profiler/framework_raw_0.csv old mode 100644 new mode 100755 diff --git a/tests/utils/resource/profiler/framework_raw_1.csv b/tests/utils/resource/profiler/framework_raw_1.csv old mode 100644 new mode 100755 diff --git a/tests/utils/resource/profiler/step_trace_raw_0_detail_time.csv b/tests/utils/resource/profiler/step_trace_raw_0_detail_time.csv old mode 100644 new mode 100755 diff --git a/tests/utils/resource/profiler/step_trace_raw_10_detail_time.csv b/tests/utils/resource/profiler/step_trace_raw_10_detail_time.csv old mode 100644 new mode 100755 -- GitLab