Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move parents checking and update into a seprarate methods
Internal LVs are not going to be referenced by the DeviceTree instance and are going to have no parents. Their "parent" LVs are going to be referenced as 'self.parent_lv' instead of 'self.parents[0]' because all the other devices use the opposite logic for parent-children relations -- children are consisting of or built on top of parents (whereas "parent" LVs are consisting of their internal LVs). This way internal LVs can easily override these methods.
- Loading branch information