summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/siggen.py
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2023-02-22 16:26:40 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-02-24 15:38:24 +0000
commit9b0277c3c3be7637e7cee2d2a04f67cb00ac0226 (patch)
treef770a4cdfb8e579dc8b7bdc0c5c25993abf94452 /bitbake/lib/bb/siggen.py
parent0ab3325ffb407dbce6aa5ccc20478568abd8b8fb (diff)
downloadpoky-9b0277c3c3be7637e7cee2d2a04f67cb00ac0226.tar.gz
bitbake: lib/bb/siggen: fix debug() call
Bitbake f68682 changed the logger's debug() method to be compatible with logging.debug(), but this caller was still using the old API where you can pass an integer as the first argument: WARNING: Invalid arguments in bbdebug: (1, 1, 'Found unihash[...]') Instead, call bbdebug() which has the priority argument. (Bitbake rev: 18d4f9e8387f7994cf6d46300e25dda1c3a593b2) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/siggen.py')
-rw-r--r--bitbake/lib/bb/siggen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py
index 26e0243b00..c4ff9d8de1 100644
--- a/bitbake/lib/bb/siggen.py
+++ b/bitbake/lib/bb/siggen.py
@@ -598,7 +598,7 @@ class SignatureGeneratorUniHashMixIn(object):
598 # A unique hash equal to the taskhash is not very interesting, 598 # A unique hash equal to the taskhash is not very interesting,
599 # so it is reported it at debug level 2. If they differ, that 599 # so it is reported it at debug level 2. If they differ, that
600 # is much more interesting, so it is reported at debug level 1 600 # is much more interesting, so it is reported at debug level 1
601 hashequiv_logger.debug((1, 2)[unihash == taskhash], 'Found unihash %s in place of %s for %s from %s' % (unihash, taskhash, tid, self.server)) 601 hashequiv_logger.bbdebug((1, 2)[unihash == taskhash], 'Found unihash %s in place of %s for %s from %s' % (unihash, taskhash, tid, self.server))
602 else: 602 else:
603 hashequiv_logger.debug2('No reported unihash for %s:%s from %s' % (tid, taskhash, self.server)) 603 hashequiv_logger.debug2('No reported unihash for %s:%s from %s' % (tid, taskhash, self.server))
604 except ConnectionError as e: 604 except ConnectionError as e: