diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2019-06-04 03:09:35 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2019-06-04 03:09:35 +0200 |
| commit | 22f277826fe21df548c45569f9c3a1d45b5a55fa (patch) | |
| tree | d483fda364aeb586fd0d46be587250de00ef1ed7 | |
| parent | 9d37b21392fb5aa732a2692c5aaa3836777cdd28 (diff) | |
Mention that the load_config() message is different for replace=False
Handy to know when writing merging utilities.
| -rw-r--r-- | kconfiglib.py | 3 |
1 files changed, 2 insertions, 1 deletions
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") |
