Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Devicetree: edtlib: fix possible TypeError in Binding.__repr__()
Calling Binding.__repr__() when the attribute Binding.path is None would raise TypeError: expected str, bytes or os.PathLike object, not NoneType. Known bindings that may not have a path (Binding.path is None) include bindings for properties such as 'compatible', 'reg', 'status'. Signed-off-by: Chris Duf <[email protected]> Co-authored-by: Gerard Marull-Paretas <[email protected]>
- Loading branch information