diff --git a/scripts/ci/check_compliance.py b/scripts/ci/check_compliance.py index ce5cd159ad8c..6985896d0181 100755 --- a/scripts/ci/check_compliance.py +++ b/scripts/ci/check_compliance.py @@ -347,7 +347,7 @@ def get_kconfig_dts(self, kconfig_dts_file, settings_file): lines = content.strip().split('\n') for line in lines: if line.startswith('"DTS_ROOT":'): - _, dts_root_path = line.split(":") + _, dts_root_path = line.split(":", 1) binding_paths.append(os.path.join(dts_root_path.strip('"'), "dts", "bindings")) cmd = [sys.executable, zephyr_drv_kconfig_path,