The second raise_sanity_error() call in this class lacks the 'd'
parameter which would lead to a python exception rather than the
desired error message when the corresponding error condition is
fulfilled.

Signed-off-by: Robin Lintermann <[email protected]>
---
 meta/classes/sign_ipk.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/sign_ipk.bbclass b/meta/classes/sign_ipk.bbclass
index 51c24b38b2..9f666998ba 100644
--- a/meta/classes/sign_ipk.bbclass
+++ b/meta/classes/sign_ipk.bbclass
@@ -40,7 +40,7 @@ python () {
 
     sigtype = d.getVar("IPK_GPG_SIGNATURE_TYPE")
     if sigtype.upper() != "ASC" and sigtype.upper() != "BIN":
-        raise_sanity_error("Bad value for IPK_GPG_SIGNATURE_TYPE (%s), use 
either ASC or BIN" % sigtype)
+        raise_sanity_error("Bad value for IPK_GPG_SIGNATURE_TYPE (%s), use 
either ASC or BIN" % sigtype, d)
 }
 
 def sign_ipk(d, ipk_to_sign):
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#238051): 
https://lists.openembedded.org/g/openembedded-core/message/238051
Mute This Topic: https://lists.openembedded.org/mt/119612016/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to