manifest: fix _ManifestImportDepth() call
We should be passing a str filename here. Caught by mypy. Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
parent
b613c5d5ea
commit
5abde2024f
|
@ -1391,7 +1391,7 @@ class Manifest:
|
|||
**{'import-context':
|
||||
ctx}).projects[MANIFEST_PROJECT_INDEX]
|
||||
except RecursionError as e:
|
||||
raise _ManifestImportDepth(mp, pathobj) from e
|
||||
raise _ManifestImportDepth(mp, str(pathobj)) from e
|
||||
|
||||
# submp.west_commands comes first because we
|
||||
# logically treat imports from self as if they are
|
||||
|
|
Loading…
Reference in New Issue