summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2006-04-14 22:47:55 +0000
committerHolger Hans Peter Freyther <zecke@selfish.org>2006-04-14 22:47:55 +0000
commit5fc9855dbda6dd6da1db04d13dc2c4383e6596da (patch)
tree8b4e91cd0a0a0cc3092e4aff6f7c9c0fd0da222c
parent52ba0c6e4863279ace3aa1d2ce75e0f254e915d6 (diff)
downloadbitbake-5fc9855dbda6dd6da1db04d13dc2c4383e6596da.tar.gz
bitbake/lib/bb/methodpool.py:
-Document the usage of the three variables
-rw-r--r--lib/bb/methodpool.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/bb/methodpool.py b/lib/bb/methodpool.py
index 67cb626f2..595825be5 100644
--- a/lib/bb/methodpool.py
+++ b/lib/bb/methodpool.py
@@ -63,6 +63,11 @@ 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)