From e40931701531ac3737853217e6c87d975d0ab713 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 18 Aug 2015 10:19:01 +0200 Subject: Fix kernel temporally file removal Temporally file generated in kernel script during configuration applying wasn't closed/remove after end of usage. --- scripts/kernel.py | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts') diff --git a/scripts/kernel.py b/scripts/kernel.py index c41fe1f..d989f8a 100644 --- a/scripts/kernel.py +++ b/scripts/kernel.py @@ -20,6 +20,7 @@ def config(txtconfig): conf.kernel_config_output, env=utils.get_kernel_env()) except exceptions.ProcessFailed: raise exceptions.ConfigurationError("some configs mismatch") + infile.close() os.chdir(wd) #def config_noprogram(): -- cgit v1.2.3