summaryrefslogtreecommitdiff
path: root/examples/allyesconfig.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2012-12-13 08:23:49 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2012-12-13 08:25:24 +0100
commitdfd0bf1dc9d46818e5e1ec3c432f2b764847dfe5 (patch)
treebdddd5c694b4e80b2fe6a715db33426a14efcca7 /examples/allyesconfig.py
parent13f2ee99521fe4c472fc93ed40eb276e2017d937 (diff)
Rename some APIs to be more consistent and intuitive.
Diffstat (limited to 'examples/allyesconfig.py')
-rw-r--r--examples/allyesconfig.py4
1 files changed, 2 insertions, 2 deletions
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")