Openembedded Bitbake Development
 help / color / mirror / Atom feed
* methodpool: Remove unused check_insert_method function
@ 2012-08-22 12:52 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2012-08-22 12:52 UTC (permalink / raw)
  To: bitbake-devel

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
diff --git a/bitbake/lib/bb/methodpool.py b/bitbake/lib/bb/methodpool.py
index c5aae9b..3b8e5c1 100644
--- a/bitbake/lib/bb/methodpool.py
+++ b/bitbake/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





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-08-22 13:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-22 12:52 methodpool: Remove unused check_insert_method function Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox