summaryrefslogtreecommitdiffstats
path: root/bitbake/bin/bitbake-diffsigs
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/bin/bitbake-diffsigs')
-rwxr-xr-xbitbake/bin/bitbake-diffsigs4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/bin/bitbake-diffsigs b/bitbake/bin/bitbake-diffsigs
index 6646dccdfa..cf4cc706a2 100755
--- a/bitbake/bin/bitbake-diffsigs
+++ b/bitbake/bin/bitbake-diffsigs
@@ -60,7 +60,7 @@ def find_siginfo_task(bbhandler, pn, taskname, sig1=None, sig2=None):
60 60
61 if sig1 and sig2: 61 if sig1 and sig2:
62 sigfiles = find_siginfo(bbhandler, pn, taskname, [sig1, sig2]) 62 sigfiles = find_siginfo(bbhandler, pn, taskname, [sig1, sig2])
63 if len(sigfiles) == 0: 63 if not sigfiles:
64 logger.error('No sigdata files found matching %s %s matching either %s or %s' % (pn, taskname, sig1, sig2)) 64 logger.error('No sigdata files found matching %s %s matching either %s or %s' % (pn, taskname, sig1, sig2))
65 sys.exit(1) 65 sys.exit(1)
66 elif not sig1 in sigfiles: 66 elif not sig1 in sigfiles:
@@ -86,7 +86,7 @@ def recursecb(key, hash1, hash2):
86 hashfiles = find_siginfo(tinfoil, key, None, hashes) 86 hashfiles = find_siginfo(tinfoil, key, None, hashes)
87 87
88 recout = [] 88 recout = []
89 if len(hashfiles) == 0: 89 if not hashfiles:
90 recout.append("Unable to find matching sigdata for %s with hashes %s or %s" % (key, hash1, hash2)) 90 recout.append("Unable to find matching sigdata for %s with hashes %s or %s" % (key, hash1, hash2))
91 elif not hash1 in hashfiles: 91 elif not hash1 in hashfiles:
92 recout.append("Unable to find matching sigdata for %s with hash %s" % (key, hash1)) 92 recout.append("Unable to find matching sigdata for %s with hash %s" % (key, hash1))