Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
FIX: Various naming convention typos
[csit.git]
/
resources
/
libraries
/
python
/
SchedUtils.py
diff --git
a/resources/libraries/python/SchedUtils.py
b/resources/libraries/python/SchedUtils.py
index
ec18b98
..
b4c5721
100644
(file)
--- a/
resources/libraries/python/SchedUtils.py
+++ b/
resources/libraries/python/SchedUtils.py
@@
-45,7
+45,7
@@
class SchedUtils(object):
print 'Reading VPP worker thread PID failed.'
else:
for pid in out.split("\n"):
- if
len(pid) > 0 and pid[0] != "#"
:
+ if
pid and pid[0] != '#'
:
SchedUtils.set_proc_scheduling_rr(node, int(pid))
break
else: