summaryrefslogtreecommitdiffstats
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)
downloadpoky-b26a945734ce271aa7d443ff9e96fe2851b21138.tar.gz
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":
31 path = os.path.dirname(os.path.dirname(sys.argv[1])) 31 path = os.path.dirname(os.path.dirname(sys.argv[1]))
32else: 32else:
33 path = os.path.dirname(os.path.dirname(sys.argv[0])) 33 path = os.path.dirname(os.path.dirname(sys.argv[0]))
34sys.path.append(path) 34sys.path.insert(0,path)
35 35
36from bb import note, debug, data_smart 36from bb import note, debug, data_smart
37 37
@@ -211,6 +211,11 @@ def delVarFlag(var, flag, d):
211def setVarFlags(var, flags, d): 211def setVarFlags(var, flags, d):
212 """Set the flags for a given variable 212 """Set the flags for a given variable
213 213
214 Note:
215 setVarFlags will not clear previous
216 flags. Think of this method as
217 addVarFlags
218
214 Example: 219 Example:
215 >>> d = init() 220 >>> d = init()
216 >>> myflags = {} 221 >>> myflags = {}