dm-verity-img.bbclass: fix syntax warning
PATCH 1/1 dm-verity-img.bbclass: fix syntax warning
From: Eero Aaltonen <[email protected]>
Fixes warning
``` SyntaxWarning: "is not" with a literal. Did you mean "!="? ```
Signed-off-by Eero Aaltonen <[email protected]>
--- classes/dm-verity-img.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
classes/dm-verity-img.bbclass +1 -1
@@ -87,7 +87,7 @@ python __anonymous() { if verity_image != pn: return # This doesn't concern this image - if len(verity_type.split()) is not 1: + if len(verity_type.split()) != 1: bb.fatal('DM_VERITY_IMAGE_TYPE must contain exactly one type') d.appendVar('IMAGE_FSTYPES', ' %s.verity' % verity_type)
Signature · 1 line
2.25.1