The method get_kconfig_dts() relies on str's split() to split
lines into fields separated by ':'. The second field is an
absolute path to a file.
On Windows, an absolute path includes a drive's letter followed
by ':' which breaks the current code.
On Linux, although rare, a file or directory name may also include
':', which would also break the code.
The fix is to constraint the number of splits to 1.
The code then becomes:
_,b = line.split(":", 1)
Signed-off-by: Yves Vandervennet <yves.vandervennet@nxp.com>
|
||
|---|---|---|
| .. | ||
| stats | ||
| check_compliance.py | ||
| errno.py | ||
| guideline_check.py | ||
| pylintrc | ||
| tags.yaml | ||
| test_plan.py | ||
| twister_ignore.txt | ||
| upload_test_results_es.py | ||
| upload_test_results.py | ||
| version_mgr.py | ||