summaryrefslogtreecommitdiff
path: root/examples/help_grep.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/help_grep.py')
-rw-r--r--examples/help_grep.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/help_grep.py b/examples/help_grep.py
index 6fcb08f..6f54583 100644
--- a/examples/help_grep.py
+++ b/examples/help_grep.py
@@ -33,7 +33,7 @@
# ...
-from kconfiglib import Config, Symbol, Choice, MENU, COMMENT
+from kconfiglib import Kconfig, Symbol, Choice, MENU, COMMENT
import re
import sys
@@ -68,5 +68,5 @@ def search_tree(node):
node = node.next
-conf = Config(sys.argv[1])
+conf = Kconfig(sys.argv[1])
search_tree(conf.top_node)