diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-02-06 03:05:07 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-02-06 03:05:07 +0100 |
| commit | 66058f3a3d4ac3b63861d8574be753eece44779e (patch) | |
| tree | f09141a3253c8269a0218a4a96da61e2e401382f /examples/allnoconfig_simpler.py | |
| parent | c1d2c10ad95827e3a04c9f432b32fbcf175f5a5e (diff) | |
Consistently use 'kconf' instead of 'conf'
The examples had some leftovers from Kconfiglib 1.
Diffstat (limited to 'examples/allnoconfig_simpler.py')
| -rw-r--r-- | examples/allnoconfig_simpler.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/allnoconfig_simpler.py b/examples/allnoconfig_simpler.py index 81e701c..3babcab 100644 --- a/examples/allnoconfig_simpler.py +++ b/examples/allnoconfig_simpler.py @@ -9,14 +9,14 @@ from kconfiglib import Kconfig, BOOL, TRISTATE import sys -conf = Kconfig(sys.argv[1]) +kconf = Kconfig(sys.argv[1]) # Avoid warnings printed by Kconfiglib when assigning a value to a symbol that # has no prompt. Such assignments never have an effect. -conf.disable_warnings() +kconf.disable_warnings() -for sym in conf.defined_syms: +for sym in kconf.defined_syms: if sym.type in (BOOL, TRISTATE): sym.set_value(2 if sym.is_allnoconfig_y else 0) -conf.write_config(".config") +kconf.write_config(".config") |
