summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/allnoconfig_walk.py2
-rw-r--r--examples/defconfig_oldconfig.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/allnoconfig_walk.py b/examples/allnoconfig_walk.py
index 8e22cd9..b94a169 100644
--- a/examples/allnoconfig_walk.py
+++ b/examples/allnoconfig_walk.py
@@ -40,7 +40,7 @@ def do_allnoconfig(node):
kconf = Kconfig(sys.argv[1])
# Do an initial pass to set 'option allnoconfig_y' symbols to y
-for sym in kconf.defined_syms:
+for sym in kconf.unique_defined_syms:
if sym.is_allnoconfig_y:
sym.set_value(2)
diff --git a/examples/defconfig_oldconfig.py b/examples/defconfig_oldconfig.py
index 84aa134..3735ee1 100644
--- a/examples/defconfig_oldconfig.py
+++ b/examples/defconfig_oldconfig.py
@@ -29,7 +29,7 @@ kconf.write_config(".config")
# Mirrors the second oldconfig
kconf.load_config(".config")
kconf.syms["ETHERNET"].set_value(2)
-for s in kconf.defined_syms:
+for s in kconf.unique_defined_syms:
if s.user_value is None and 0 in s.assignable:
s.set_value(0)