From 978daa982ddcd3f168da0a1ee5ca31c3a721a8b3 Mon Sep 17 00:00:00 2001 From: Nyakku Shigure Date: Tue, 11 Oct 2022 20:01:43 +0800 Subject: [PATCH] [CodeStyle][E306] add a blank line before nested function (#46895) * [CodeStyle][E306] add a blank line before nested function * revert changes * add a blank line --- tools/CrossStackProfiler/CspFileReader.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/CrossStackProfiler/CspFileReader.py b/tools/CrossStackProfiler/CspFileReader.py index 475da76993..32281013ab 100755 --- a/tools/CrossStackProfiler/CspFileReader.py +++ b/tools/CrossStackProfiler/CspFileReader.py @@ -178,6 +178,7 @@ class FileReader(object): if (self._getId(self._fileList[-1]) - self._getId(self._fileList[0])) != len(self._fileList) - 1: raise Exception("The file id should be countious!") + # sort def _sortBySuffix(elem): return int(elem.split(".")[-1]) -- GitLab