From dfd0bf1dc9d46818e5e1ec3c432f2b764847dfe5 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Thu, 13 Dec 2012 08:23:49 +0100 Subject: Rename some APIs to be more consistent and intuitive. --- examples/allyesconfig.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/allyesconfig.py') diff --git a/examples/allyesconfig.py b/examples/allyesconfig.py index 1281015..906343c 100644 --- a/examples/allyesconfig.py +++ b/examples/allyesconfig.py @@ -21,7 +21,7 @@ conf = kconfiglib.Config(sys.argv[1]) # Get a list of all symbols that are not in choices non_choice_syms = [sym for sym in conf.get_symbols() if - not sym.is_choice_item()] + not sym.is_choice_symbol()] done = False while not done: @@ -56,7 +56,7 @@ while not done: # "m" for example. elif choice.get_visibility() == "m": - for sym in choice.get_actual_items(): + for sym in choice.get_symbols(): if sym.get_value() != "m" and \ sym.get_upper_bound() != "n": sym.set_user_value("m") -- cgit v1.2.3