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.py | |
| parent | 906a1d119152f70268264c632b3c8193e476b720 (diff) | |
Rename APIs to be more consistent and intuitive.
Diffstat (limited to 'examples/allnoconfig.py')
| -rw-r--r-- | examples/allnoconfig.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/allnoconfig.py b/examples/allnoconfig.py index 7c22036..271751b 100644 --- a/examples/allnoconfig.py +++ b/examples/allnoconfig.py @@ -22,9 +22,9 @@ while not done: # (currently) be changed, as well as for non-bool/tristate symbols. lower_bound = sym.get_lower_bound() if lower_bound is not None and \ - kconfiglib.tri_less(lower_bound, sym.calc_value()): + kconfiglib.tri_less(lower_bound, sym.get_value()): - sym.set_value(lower_bound) + sym.set_user_value(lower_bound) # We just changed the value of some symbol. As this may affect # other symbols, keep going. done = False |
