diff options
author | Eero Aaltonen <eero.aaltonen@vaisala.com> | 2023-03-09 15:04:46 +0200 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2023-03-20 16:27:24 -0400 |
commit | 4c786d4e098188912525d45af5d5cbe947adb0de (patch) | |
tree | c589b4e2c29171cebad8490ada9322d8951e503e /classes | |
parent | bd7a25c4dd53d8cd2f535f8d967c9e802d3bd682 (diff) | |
download | meta-security-4c786d4e098188912525d45af5d5cbe947adb0de.tar.gz |
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>
Diffstat (limited to 'classes')
-rw-r--r-- | classes/dm-verity-img.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/dm-verity-img.bbclass b/classes/dm-verity-img.bbclass index e5946bc..c57409f 100644 --- a/classes/dm-verity-img.bbclass +++ b/classes/dm-verity-img.bbclass | |||
@@ -87,7 +87,7 @@ python __anonymous() { | |||
87 | if verity_image != pn: | 87 | if verity_image != pn: |
88 | return # This doesn't concern this image | 88 | return # This doesn't concern this image |
89 | 89 | ||
90 | if len(verity_type.split()) is not 1: | 90 | if len(verity_type.split()) != 1: |
91 | bb.fatal('DM_VERITY_IMAGE_TYPE must contain exactly one type') | 91 | bb.fatal('DM_VERITY_IMAGE_TYPE must contain exactly one type') |
92 | 92 | ||
93 | d.appendVar('IMAGE_FSTYPES', ' %s.verity' % verity_type) | 93 | d.appendVar('IMAGE_FSTYPES', ' %s.verity' % verity_type) |