aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-08-19 10:28:45 +0200
committerKarel Kočí <cynerd@email.cz>2015-08-19 10:28:45 +0200
commitb8ca58ecb4e5dd97842c0b1cb25d490a7c4b99f0 (patch)
tree076cac0727fc6468a1acaf56651ecf7031ef56b8 /scripts
parent0973602348466f280a475453990cca352b1dc36b (diff)
downloadlinux-conf-perf-b8ca58ecb4e5dd97842c0b1cb25d490a7c4b99f0.tar.gz
linux-conf-perf-b8ca58ecb4e5dd97842c0b1cb25d490a7c4b99f0.tar.bz2
linux-conf-perf-b8ca58ecb4e5dd97842c0b1cb25d490a7c4b99f0.zip
Fix type exception in kernel.config
As name was given tempfile object no name of generated temporally file.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/kernel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kernel.py b/scripts/kernel.py
index d989f8a..8bc147d 100644
--- a/scripts/kernel.py
+++ b/scripts/kernel.py
@@ -16,7 +16,7 @@ def config(txtconfig):
wd = os.getcwd()
os.chdir(sf(conf.linux_sources))
try:
- utils.callsubprocess('write_config', [sf(conf.write_config), infile],
+ utils.callsubprocess('write_config', [sf(conf.write_config), infile.name],
conf.kernel_config_output, env=utils.get_kernel_env())
except exceptions.ProcessFailed:
raise exceptions.ConfigurationError("some configs mismatch")