From 22f277826fe21df548c45569f9c3a1d45b5a55fa Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Tue, 4 Jun 2019 03:09:35 +0200 Subject: Mention that the load_config() message is different for replace=False Handy to know when writing merging utilities. --- kconfiglib.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'kconfiglib.py') diff --git a/kconfiglib.py b/kconfiglib.py index 5b6880d..63d842f 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -1156,7 +1156,8 @@ class Kconfig(object): Returns a string with a message saying which file got loaded (or possibly that no file got loaded, when 'filename' is None). This is meant to reduce boilerplate in tools, which can do e.g. - print(kconf.load_config()). + print(kconf.load_config()). The returned message distinguishes between + loading (replace == True) and merging (replace == False). """ if verbose is not None: _warn_verbose_deprecated("load_config") -- cgit v1.2.3