projects
/
platform
/
core
/
csapi
/
tizenfx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0dd6cf0
)
[Tools] Update code checker (#476)
author
Jay Cho
<chojoong@gmail.com>
Tue, 18 Sep 2018 08:38:11 +0000
(17:38 +0900)
committer
WonYoung Choi
<wy80.choi@samsung.com>
Tue, 18 Sep 2018 08:38:11 +0000
(17:38 +0900)
* [Tools] Update code checker
* Update PRManager.py
tools/scripts/CodeChecker/PRManager.py
patch
|
blob
|
history
diff --git
a/tools/scripts/CodeChecker/PRManager.py
b/tools/scripts/CodeChecker/PRManager.py
index
9035ff2
..
1f20ca0
100644
(file)
--- a/
tools/scripts/CodeChecker/PRManager.py
+++ b/
tools/scripts/CodeChecker/PRManager.py
@@
-15,9
+15,11
@@
class PRManager:
self.fileDiffHunkPairs = {}
for file in self.changedFiles:
+ if file.patch is None:
+ continue
_patchLines = file.patch.split("\n")
self._CreatePositionMap(file, _patchLines)
- _patchLines[:] = [line for line in _patchLines if "@@" in line]
+ _patchLines[:] = [line for line in _patchLines if "@@
" in line]
_diffLines = []
for hunkline in _patchLines:
hunkline = hunkline[2:]