Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
CSIT-1326 Add barrier event traces
[csit.git]
/
resources
/
libraries
/
python
/
CpuUtils.py
diff --git
a/resources/libraries/python/CpuUtils.py
b/resources/libraries/python/CpuUtils.py
index
5d8b8a6
..
f4d52f8
100644
(file)
--- a/
resources/libraries/python/CpuUtils.py
+++ b/
resources/libraries/python/CpuUtils.py
@@
-82,7
+82,7
@@
class CpuUtils(object):
ret, stderr))
node['cpuinfo'] = list()
for line in stdout.split("\n"):
- if l
en(line) > 0
and line[0] != "#":
+ if l
ine
and line[0] != "#":
node['cpuinfo'].append([CpuUtils.__str2int(x) for x in
line.split(",")])