summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cookerdata.py
diff options
context:
space:
mode:
authorJoshua Watt <JPEWhacker@gmail.com>2022-09-20 19:59:39 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-09-21 20:20:22 +0100
commit3e0e5347e6b34d1e3535edeb45582a7480a4c298 (patch)
tree70a2574ccb17ae4663fa97299311dceae6c6cc7c /bitbake/lib/bb/cookerdata.py
parenta6b647af79c1d8ed9b58a08d494aa169d1500d41 (diff)
downloadpoky-3e0e5347e6b34d1e3535edeb45582a7480a4c298.tar.gz
bitbake: bitbake: Fix a few more logger debug() calls
f68682a7 ("logging: Make bitbake logger compatible with python logger") replaced several .debug() calls to make them comply with the standard python logging API, but a few were missed. (Bitbake rev: eb25cd4d64b9a4e8e2b2ce7fbccc123d00b2fc2b) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/cookerdata.py')
-rw-r--r--bitbake/lib/bb/cookerdata.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/cookerdata.py b/bitbake/lib/bb/cookerdata.py
index 9706948ab3..8a354fed7c 100644
--- a/bitbake/lib/bb/cookerdata.py
+++ b/bitbake/lib/bb/cookerdata.py
@@ -356,7 +356,7 @@ class CookerDataBuilder(object):
356 356
357 layerconf = self._findLayerConf(data) 357 layerconf = self._findLayerConf(data)
358 if layerconf: 358 if layerconf:
359 parselog.debug(2, "Found bblayers.conf (%s)", layerconf) 359 parselog.debug2("Found bblayers.conf (%s)", layerconf)
360 # By definition bblayers.conf is in conf/ of TOPDIR. 360 # By definition bblayers.conf is in conf/ of TOPDIR.
361 # We may have been called with cwd somewhere else so reset TOPDIR 361 # We may have been called with cwd somewhere else so reset TOPDIR
362 data.setVar("TOPDIR", os.path.dirname(os.path.dirname(layerconf))) 362 data.setVar("TOPDIR", os.path.dirname(os.path.dirname(layerconf)))
@@ -384,7 +384,7 @@ class CookerDataBuilder(object):
384 raise bb.BBHandledException() 384 raise bb.BBHandledException()
385 385
386 for layer in layers: 386 for layer in layers:
387 parselog.debug(2, "Adding layer %s", layer) 387 parselog.debug2("Adding layer %s", layer)
388 if 'HOME' in approved and '~' in layer: 388 if 'HOME' in approved and '~' in layer:
389 layer = os.path.expanduser(layer) 389 layer = os.path.expanduser(layer)
390 if layer.endswith('/'): 390 if layer.endswith('/'):