aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-05-20 11:16:04 +0200
committerKarel Kočí <cynerd@email.cz>2015-05-20 11:16:04 +0200
commit62a0c29f4d3d18cb7715be05eb5ccba5dcc0762f (patch)
treeae6f58b64f380bb83575470c0df409bc3194fe3c /scripts
parent66596b96df5600a3f98565cf6a4a30997d55e06b (diff)
downloadlinux-conf-perf-62a0c29f4d3d18cb7715be05eb5ccba5dcc0762f.tar.gz
linux-conf-perf-62a0c29f4d3d18cb7715be05eb5ccba5dcc0762f.tar.bz2
linux-conf-perf-62a0c29f4d3d18cb7715be05eb5ccba5dcc0762f.zip
Add multiple bases support
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/evaluate.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/evaluate.py b/scripts/evaluate.py
index bf16166..32129bc 100755
--- a/scripts/evaluate.py
+++ b/scripts/evaluate.py
@@ -156,9 +156,13 @@ def evaluate():
if symrow[i] == 0:
print("Base", end=' ')
else:
- for base in bases:
- if i in base:
+ if len(bases) > 0:
+ if i in bases[0]:
print("Base", end=' ')
+ elif len(bases) > 1:
+ for x in range(0, len(bases)):
+ if i in bases[x]:
+ print("Base" + x, end=' ')
for s in symrow[i]:
print(utils.smap[s], end=' ')
print("=", end=' ')