diff options
author | Karel Kočí <cynerd@email.cz> | 2015-08-19 21:44:16 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2015-08-19 22:59:47 +0200 |
commit | 9ca8696a489b5c16a2239213919c9e8b7f8c55d5 (patch) | |
tree | f8a27acafa140df41fc677b6390e101f7f6abdb9 /scripts/kernel.py | |
parent | 6436b2120ffb4c554577d38480c0bf8f17adb56c (diff) | |
download | linux-conf-perf-9ca8696a489b5c16a2239213919c9e8b7f8c55d5.tar.gz linux-conf-perf-9ca8696a489b5c16a2239213919c9e8b7f8c55d5.tar.bz2 linux-conf-perf-9ca8696a489b5c16a2239213919c9e8b7f8c55d5.zip |
Fix wrong input type to compare_text in register_conf
Diffstat (limited to 'scripts/kernel.py')
-rw-r--r-- | scripts/kernel.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/kernel.py b/scripts/kernel.py index 8bc147d..0b374c4 100644 --- a/scripts/kernel.py +++ b/scripts/kernel.py @@ -12,7 +12,8 @@ import utils def config(txtconfig): "Apply text configuration to kernel folder" infile = tempfile.NamedTemporaryFile() - infile.write(bytes(txtconfig, sys.getdefaultencoding())) + for ln in infile: + infile.write(bytes(ln + '\n', sys.getdefaultencoding())) wd = os.getcwd() os.chdir(sf(conf.linux_sources)) try: |