diff options
| author | Karel Kočí <cynerd@email.cz> | 2015-08-19 12:06:04 +0200 | 
|---|---|---|
| committer | Karel Kočí <cynerd@email.cz> | 2015-08-19 12:06:04 +0200 | 
| commit | 102188ea18cc440e11a122a3286237026c4cad23 (patch) | |
| tree | 99ebd5d5db109bfcf745c433c07cabc855db57be /scripts/boot.py | |
| parent | 92a3552cde4abca1ebd1675b01376312290fdf4a (diff) | |
| download | linux-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/boot.py')
| -rw-r--r-- | scripts/boot.py | 5 | 
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) | 
