summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/devtool/standard.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index 07c1400388..ffca2c9ec4 100644
--- a/scripts/lib/devtool/standard.py
+++ b/scripts/lib/devtool/standard.py
@@ -1223,7 +1223,7 @@ def _create_kconfig_diff(srctree, rd, outfile):
1223 stdout, stderr = pipe.communicate() 1223 stdout, stderr = pipe.communicate()
1224 if pipe.returncode == 1: 1224 if pipe.returncode == 1:
1225 logger.info("Updating config fragment %s" % outfile) 1225 logger.info("Updating config fragment %s" % outfile)
1226 with open(outfile, 'w') as fobj: 1226 with open(outfile, 'wb') as fobj:
1227 fobj.write(stdout) 1227 fobj.write(stdout)
1228 elif pipe.returncode == 0: 1228 elif pipe.returncode == 0:
1229 logger.info("Would remove config fragment %s" % outfile) 1229 logger.info("Would remove config fragment %s" % outfile)