[v2,2/3] multiarch: use "if not" vs "if cond is False" for consistency

Message ID 20241004141731.172009-3-cedric.hombourger@siemens.com
State Accepted, archived
Headers show
Series address review comments for dpkg-raw/multiarch | expand

Commit Message

cedric.hombourger@siemens.com Oct. 4, 2024, 2:17 p.m. UTC
Fixes: 13ef1d48
Signed-off-by: Cedric Hombourger <cedric.hombourger@siemens.com>
---
 meta/classes/multiarch.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/classes/multiarch.bbclass b/meta/classes/multiarch.bbclass
index 9df8eefd..babdfbd4 100644
--- a/meta/classes/multiarch.bbclass
+++ b/meta/classes/multiarch.bbclass
@@ -29,7 +29,7 @@  python() {
             d.appendVar('BBCLASSEXTEND', ' compat')
 
     # build native separately only when it differs from the target variant
-    if archIsAll is False and archDiffers:
+    if not archIsAll and archDiffers:
         d.appendVar('BBCLASSEXTEND', ' native')
     else:
         extend_provides(pn, 'native', d)