summaryrefslogtreecommitdiff
path: root/bitbake/lib/bb/data.py
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-03-20 17:45:11 +0000
committerRichard Purdie <richard@openedhand.com>2006-03-20 17:45:11 +0000
commitb26a945734ce271aa7d443ff9e96fe2851b21138 (patch)
treef540b8d58a7411cf0cabe5c8f4ad40f9f597352a /bitbake/lib/bb/data.py
parent3cd47ad235d54a9c539ae6fe4a5a2b4b5f7e5621 (diff)
downloadopenembedded-core-b26a945734ce271aa7d443ff9e96fe2851b21138.tar.gz
openembedded-core-b26a945734ce271aa7d443ff9e96fe2851b21138.tar.bz2
openembedded-core-b26a945734ce271aa7d443ff9e96fe2851b21138.zip
Update to latest bitbake
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@309 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'bitbake/lib/bb/data.py')
-rw-r--r--bitbake/lib/bb/data.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/bitbake/lib/bb/data.py b/bitbake/lib/bb/data.py
index b7d707a920..56ee977f66 100644
--- a/bitbake/lib/bb/data.py
+++ b/bitbake/lib/bb/data.py
@@ -31,7 +31,7 @@ if sys.argv[0][-5:] == "pydoc":
path = os.path.dirname(os.path.dirname(sys.argv[1]))
else:
path = os.path.dirname(os.path.dirname(sys.argv[0]))
-sys.path.append(path)
+sys.path.insert(0,path)
from bb import note, debug, data_smart
@@ -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 = {}