From c8cce4e0d6c25e4ee85cf23790363905a188eef4 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 22 Aug 2012 13:53:11 +0100 Subject: bitbake: methodpool: Clean up the parsed module list handling to be slightly less insane This removes some dubious functions and replaces them with a simpler, cleaner API which better describes what the code is doing. Unused code/variables are removed and comments tweaked. (Bitbake rev: f1e943aebfb84e98253f3f21646d6765c4fa1d66) Signed-off-by: Richard Purdie --- bitbake/lib/bb/parse/parse_py/BBHandler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib/bb/parse/parse_py') diff --git a/bitbake/lib/bb/parse/parse_py/BBHandler.py b/bitbake/lib/bb/parse/parse_py/BBHandler.py index 625a2a21fd..2e0647b5df 100644 --- a/bitbake/lib/bb/parse/parse_py/BBHandler.py +++ b/bitbake/lib/bb/parse/parse_py/BBHandler.py @@ -161,7 +161,7 @@ def handle(fn, d, include): # we have parsed the bb class now if ext == ".bbclass" or ext == ".inc": - bb.methodpool.get_parsed_dict()[base_name] = 1 + bb.methodpool.set_parsed_module(base_name) return d -- cgit v1.2.3-54-g00ecf