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 <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2012-08-22 13:53:11 +01:00
parent 43cbd5afce
commit c8cce4e0d6
3 changed files with 11 additions and 11 deletions

View File

@@ -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