dm-verity-img.bbclass: fix syntax warning

Fixes warning
```
SyntaxWarning: "is not" with a literal. Did you mean "!="?
```

Signed-off-by: Eero Aaltonen <eero.aaltonen@vaisala.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Eero Aaltonen
2023-03-09 15:04:46 +02:00
committed by Armin Kuster
parent bd7a25c4dd
commit 4c786d4e09

View File

@@ -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)