summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2006-02-26 09:37:26 +0000
committerHolger Hans Peter Freyther <zecke@selfish.org>2006-02-26 09:37:26 +0000
commitb7b93dc29477b20bba85c7a491b080bd49a926d9 (patch)
treec6fe944730d7a51552f47ad5b7ff39caad79535b
parentd204565499c53b3919934d78a7695107de2d6a57 (diff)
downloadbitbake-b7b93dc29477b20bba85c7a491b080bd49a926d9.tar.gz
lib/bb/data.py:
Document the weird semantic of the setVarFlags. It behaves more like an addVarFlags call. Existing variables are not going to be removed.
-rw-r--r--lib/bb/data.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/bb/data.py b/lib/bb/data.py
index b7d707a92..72d0bb041 100644
--- a/lib/bb/data.py
+++ b/lib/bb/data.py
@@ -211,6 +211,11 @@ def delVarFlag(var, flag, d):
def setVarFlags(var, flags, d):
"""Set the flags for a given variable
+ Note:
+ setVarFlags will not clear previous
+ flags. Think of this method as
+ addVarFlags
+
Example:
>>> d = init()
>>> myflags = {}