From e32946d785274c4d33b63a7748ca6e1f733de331 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Tue, 11 Dec 2012 15:18:10 +0100 Subject: Rename APIs to be more consistent and intuitive. --- examples/allnoconfig.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/allnoconfig.py') 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 -- cgit v1.2.3