summaryrefslogtreecommitdiffstats
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 09:22:43 +0100
commit43cbd5afceff490d4691dcc841f8b3aa7cfbcb87 (patch)
tree7470428d7e86909055bb909fbb964badd6cff945
parentae71aa0fbb4a1a05013983cb1f1d0d79f9f5fd2c (diff)
downloadpoky-43cbd5afceff490d4691dcc841f8b3aa7cfbcb87.tar.gz
bitbake: methodpool: Remove unused check_insert_method function
(Bitbake rev: 4664333e55ffc9d618f2c2f074200923209fd6c4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/bb/methodpool.py14
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
59def 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
73def parsed_module(modulename): 59def parsed_module(modulename):
74 """ 60 """
75 Inform me file xyz was parsed 61 Inform me file xyz was parsed