diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/methodpool.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/bitbake/lib/bb/methodpool.py b/bitbake/lib/bb/methodpool.py index c5aae9bc09..3b8e5c1137 100644 --- a/bitbake/lib/bb/methodpool.py +++ b/bitbake/lib/bb/methodpool.py | |||
@@ -56,20 +56,6 @@ def insert_method(modulename, code, fn): | |||
56 | else: | 56 | else: |
57 | _parsed_fns[name] = modulename | 57 | _parsed_fns[name] = modulename |
58 | 58 | ||
59 | def check_insert_method(modulename, code, fn): | ||
60 | """ | ||
61 | Add the code if it wasnt added before. The module | ||
62 | name will be used for that | ||
63 | |||
64 | Variables: | ||
65 | @modulename a short name e.g. base.bbclass | ||
66 | @code The actual python code | ||
67 | @fn The filename from the outer file | ||
68 | """ | ||
69 | if not modulename in _parsed_methods: | ||
70 | return insert_method(modulename, code, fn) | ||
71 | _parsed_methods[modulename] = 1 | ||
72 | |||
73 | def parsed_module(modulename): | 59 | def parsed_module(modulename): |
74 | """ | 60 | """ |
75 | Inform me file xyz was parsed | 61 | Inform me file xyz was parsed |