meson: improve code style
PATCH 1/1 meson: improve code style
Use elif for consistency.
Signed-off-by Ross Burton <[email protected]>
--- meta/classes/meson.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/meson.bbclass +1 -1
@@ -52,7 +52,7 @@ def meson_cpu_family(var, d): arch = d.getVar(var) if arch == 'powerpc': return 'ppc' - if arch == 'mipsel': + elif arch == 'mipsel': return 'mips' elif re.match(r"i[3-6]86", arch): return "x86"
Signature · 1 line
2.11.0