From: Alexander Popov Date: Sat, 22 Jan 2022 21:33:04 +0000 (+0300) Subject: ComplexOptCheck type has the type of the first opt in it X-Git-Tag: v0.5.17~31^2~5 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=544d7841bc52e90bab27500ddf70ec46e4c514b8;p=kconfig-hardened-check.git ComplexOptCheck type has the type of the first opt in it --- diff --git a/kconfig_hardened_check/__init__.py b/kconfig_hardened_check/__init__.py index ae51ca0..f1de819 100644 --- a/kconfig_hardened_check/__init__.py +++ b/kconfig_hardened_check/__init__.py @@ -176,6 +176,10 @@ class ComplexOptCheck: def name(self): return self.opts[0].name + @property + def type(self): + return self.opts[0].type + @property def expected(self): return self.opts[0].expected