projects
/
vuplus_bitbake
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d204565
)
lib/bb/data.py:
author
Holger Hans Peter Freyther
<zecke@selfish.org>
Sun, 26 Feb 2006 09:37:26 +0000
(09:37 +0000)
committer
Holger Hans Peter Freyther
<zecke@selfish.org>
Sun, 26 Feb 2006 09:37:26 +0000
(09:37 +0000)
Document the weird semantic of the setVarFlags. It behaves
more like an addVarFlags call. Existing variables are not
going to be removed.
lib/bb/data.py
patch
|
blob
|
history
diff --git
a/lib/bb/data.py
b/lib/bb/data.py
index
b7d707a
..
72d0bb0
100644
(file)
--- 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 = {}