aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-08-19 12:06:04 +0200
committerKarel Kočí <cynerd@email.cz>2015-08-19 12:06:04 +0200
commit102188ea18cc440e11a122a3286237026c4cad23 (patch)
tree99ebd5d5db109bfcf745c433c07cabc855db57be /scripts
parent92a3552cde4abca1ebd1675b01376312290fdf4a (diff)
downloadlinux-conf-perf-102188ea18cc440e11a122a3286237026c4cad23.tar.gz
linux-conf-perf-102188ea18cc440e11a122a3286237026c4cad23.tar.bz2
linux-conf-perf-102188ea18cc440e11a122a3286237026c4cad23.zip
Fix wrong input format to database
add_measure in boot script was called with list of lines instead of single string.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/boot.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/boot.py b/scripts/boot.py
index 5c687a2..af39b30 100644
--- a/scripts/boot.py
+++ b/scripts/boot.py
@@ -24,4 +24,7 @@ def boot(config, to_database = True):
if to_database:
dtb = database.database()
- dtb.add_measure(out, config.id, value)
+ txt = ''
+ for ln in out:
+ txt += ln + '\n'
+ dtb.add_measure(txt, config.id, value)