aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-08-13 11:59:48 +0200
committerKarel Kočí <cynerd@email.cz>2015-08-13 11:59:48 +0200
commit40d78edefd17fffeb608468516d1c3cb34337bf5 (patch)
tree2bfee5691701b0742333ca2a02e1867dd092bc6b /scripts
parent6193dece5f6fa1caf88612989bb908495d9ee6f7 (diff)
parenta62b2a1da87c05373242b0db0d6f99b99a92c77a (diff)
downloadlinux-conf-perf-40d78edefd17fffeb608468516d1c3cb34337bf5.tar.gz
linux-conf-perf-40d78edefd17fffeb608468516d1c3cb34337bf5.tar.bz2
linux-conf-perf-40d78edefd17fffeb608468516d1c3cb34337bf5.zip
Merge branch 'master' into measuring
Pull generate_single fix.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/configurations.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/configurations.py b/scripts/configurations.py
index a9ede05..aef8a5f 100644
--- a/scripts/configurations.py
+++ b/scripts/configurations.py
@@ -173,7 +173,8 @@ def __generate_single__(var_num, conf_num):
tfile = __buildtempcnf__(var_num, (sf(conf.rules_file),
sf(conf.fixed_file)), (str(measure_list.pop())))
with open(sf(conf.single_generated_file), 'w') as fo:
- fo.writelines(measure_list)
+ for ln in measure_list:
+ fo.write(str(ln) + '\n')
try:
confs = __exec_sat__(tfile, ['-i', '0'])
for con in confs: