diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2012-12-11 15:18:10 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2012-12-11 15:18:10 +0100 |
| commit | e32946d785274c4d33b63a7748ca6e1f733de331 (patch) | |
| tree | 44c407fa95c768a58d3e0cccc12737be7483dc32 /examples/allnoconfig_simpler.py | |
| parent | 906a1d119152f70268264c632b3c8193e476b720 (diff) | |
Rename APIs to be more consistent and intuitive.
Diffstat (limited to 'examples/allnoconfig_simpler.py')
| -rw-r--r-- | examples/allnoconfig_simpler.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/allnoconfig_simpler.py b/examples/allnoconfig_simpler.py index 4846a7f..affa004 100644 --- a/examples/allnoconfig_simpler.py +++ b/examples/allnoconfig_simpler.py @@ -6,7 +6,7 @@ # selects. # This version is a bit slower compared allnoconfig.py since Kconfiglib -# invalidates all dependent symbols for each set_value() call. This does not +# invalidates all dependent symbols for each set_user_value() call. This does not # happen for load_config(), which instead invalidates all symbols once after # the configuration has been loaded. This is OK for load_config() since nearly # all symbols will tend to be affected anyway. @@ -18,6 +18,6 @@ conf = kconfiglib.Config(sys.argv[1]) for sym in conf: if sym.get_type() in (kconfiglib.BOOL, kconfiglib.TRISTATE): - sym.set_value("n") + sym.set_user_value("n") conf.write_config(".config") |
