From dbd07bb85db0448502ee51aa43ea6ca27b84ed45 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Wed, 31 Oct 2018 03:18:33 +0100 Subject: 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... --- menuconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3