aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-05-14 22:51:15 +0200
committerKarel Kočí <cynerd@email.cz>2015-05-14 22:51:15 +0200
commit2e9ef6384bf9a9b599a5f7438d8772fcbccb760f (patch)
treee2788bcffdb529cb8a216ed69cd247de0dd52cdd
parent932319b3520588445ea2cf47888e086b540c5331 (diff)
downloadlinux-conf-perf-2e9ef6384bf9a9b599a5f7438d8772fcbccb760f.tar.gz
linux-conf-perf-2e9ef6384bf9a9b599a5f7438d8772fcbccb760f.tar.bz2
linux-conf-perf-2e9ef6384bf9a9b599a5f7438d8772fcbccb760f.zip
Fix error in utils script
-rw-r--r--scripts/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/utils.py b/scripts/utils.py
index 060aa3e..74cc80c 100644
--- a/scripts/utils.py
+++ b/scripts/utils.py
@@ -107,7 +107,7 @@ def config_strtoint(str):
"""Reads list of configured symbols from string
"""
rtn = []
- for s in str.split(sep=' '):
+ for s in str.rstrip().split(sep=' '):
rtn.append(int(s))
try:
rtn.remove(0)