From b8ca58ecb4e5dd97842c0b1cb25d490a7c4b99f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 19 Aug 2015 10:28:45 +0200 Subject: Fix type exception in kernel.config As name was given tempfile object no name of generated temporally file. --- scripts/kernel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") -- cgit v1.2.3