From fd4c7fe3b1b1c1736360c3245bcb90a9e5386773 Mon Sep 17 00:00:00 2001 From: Metin Kaya Date: Wed, 20 Dec 2023 10:03:31 +0000 Subject: [PATCH] framework/plugin: Fix typo at suppoted_targets Signed-off-by: Metin Kaya --- wa/framework/plugin.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wa/framework/plugin.py b/wa/framework/plugin.py index e2767782a..1c7bd5229 100644 --- a/wa/framework/plugin.py +++ b/wa/framework/plugin.py @@ -384,7 +384,7 @@ class TargetedPlugin(Plugin): """ - suppoted_targets = [] + supported_targets = [] parameters = [ Parameter('cleanup_assets', kind=bool, global_alias='cleanup_assets', @@ -398,8 +398,8 @@ class TargetedPlugin(Plugin): @classmethod def check_compatible(cls, target): - if cls.suppoted_targets: - if target.os not in cls.suppoted_targets: + if cls.supported_targets: + if target.os not in cls.supported_targets: msg = 'Incompatible target OS "{}" for {}' raise TargetError(msg.format(target.os, cls.name))