aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-22 13:52:24 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-23 08:48:45 +0100
commit4664333e55ffc9d618f2c2f074200923209fd6c4 (patch)
tree447a1d3b1d83dda0ab5ec2b9cc132dbb9887d9e4
parentdb0ff7b4d47fce8322dd2350a2b1a6f60ef61d25 (diff)
downloadbitbake-4664333e55ffc9d618f2c2f074200923209fd6c4.tar.gz
methodpool: Remove unused check_insert_method function
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/methodpool.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/bb/methodpool.py b/lib/bb/methodpool.py
index c5aae9bc0..3b8e5c113 100644
--- a/lib/bb/methodpool.py
+++ b/lib/bb/methodpool.py
@@ -56,20 +56,6 @@ def insert_method(modulename, code, fn):
else:
_parsed_fns[name] = modulename
-def check_insert_method(modulename, code, fn):
- """
- Add the code if it wasnt added before. The module
- name will be used for that
-
- Variables:
- @modulename a short name e.g. base.bbclass
- @code The actual python code
- @fn The filename from the outer file
- """
- if not modulename in _parsed_methods:
- return insert_method(modulename, code, fn)
- _parsed_methods[modulename] = 1
-
def parsed_module(modulename):
"""
Inform me file xyz was parsed