summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/data_smart.py
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-12-09 20:14:48 -0500
committerRichard Purdie <rpurdie@linux.intel.com>2011-01-04 14:46:48 +0000
commitb4eff9fcefe2fefab1caaf22e497317e9338063e (patch)
treeabf0e3a263afb75aebf21e6d90bb80fec031acbc /bitbake/lib/bb/data_smart.py
parent87b6cdf5475c6fcc2368e1d80dfaac8fdee5a453 (diff)
downloadpoky-b4eff9fcefe2fefab1caaf22e497317e9338063e.tar.gz
build: use bb.process instead of os.system
(Bitbake rev: 53740977521bc81ffa37adfa7bbeb8f2a80ea165) build: write logfiles per task, not per function Based on d14f9bf6 from poky, reworked for master and other cleanup. (Bitbake rev: beadff2eca1eb95f0411115dd72ddb4c3c44c604) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/data_smart.py')
-rw-r--r--bitbake/lib/bb/data_smart.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/data_smart.py b/bitbake/lib/bb/data_smart.py
index 3f2d42c1bb..16270461a4 100644
--- a/bitbake/lib/bb/data_smart.py
+++ b/bitbake/lib/bb/data_smart.py
@@ -291,13 +291,13 @@ class DataSmart(MutableMapping):
291 self._makeShadowCopy(var) 291 self._makeShadowCopy(var)
292 self.dict[var][flag] = flagvalue 292 self.dict[var][flag] = flagvalue
293 293
294 def getVarFlag(self, var, flag, exp = False): 294 def getVarFlag(self, var, flag, expand = False):
295 local_var = self._findVar(var) 295 local_var = self._findVar(var)
296 value = None 296 value = None
297 if local_var: 297 if local_var:
298 if flag in local_var: 298 if flag in local_var:
299 value = copy.copy(local_var[flag]) 299 value = copy.copy(local_var[flag])
300 if exp and value: 300 if expand and value:
301 value = self.expand(value, None) 301 value = self.expand(value, None)
302 return value 302 return value
303 303