kconfigfunctions.py: Fix used-before-assignment error with pylint 3.2
CI reports error: kconfigfunctions.py:143:11: E0601: Using variable 'edtlib' before assignment (used-before-assignment) Initialize edtlib to none when there is no edt. Signed-off-by: Ioannis Damigos <ioannis.damigos.uj@renesas.com>
This commit is contained in:
parent
285969c98c
commit
9c8fd3745c
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ if not doc_mode:
|
|||
edtlib = inspect.getmodule(edt)
|
||||
else:
|
||||
edt = None
|
||||
edtlib = None
|
||||
|
||||
|
||||
def _warn(kconf, msg):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue