summaryrefslogtreecommitdiff
path: root/menuconfig.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-10-31 03:18:33 +0100
committerUlf Magnusson <foo@bar.com>2018-11-01 01:02:32 +0100
commitdbd07bb85db0448502ee51aa43ea6ca27b84ed45 (patch)
treee3b99c5e57f78b6bbc34e2790ef1e80dac9b1550 /menuconfig.py
parenta3c162b6cb8b7ae43824fabf7ea727b837cc7584 (diff)
menuconfig: Add quotes around filename for .config loading errors
Turns into a weird-looking 'Error loading ' otherwise. Maybe Enter should be ignored for empty filenames instead...
Diffstat (limited to 'menuconfig.py')
-rwxr-xr-xmenuconfig.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/menuconfig.py b/menuconfig.py
index 4aa21c3..733e6e5 100755
--- a/menuconfig.py
+++ b/menuconfig.py
@@ -1650,7 +1650,7 @@ def _try_load(filename):
_kconf.load_config(filename)
return True
except OSError as e:
- _error("Error loading {}\n\n{} (errno: {})"
+ _error("Error loading '{}'\n\n{} (errno: {})"
.format(filename, e.strerror, errno.errorcode[e.errno]))
return False