We don't really want the tree populated when we instantiate it, so don't populate it until someone calls its populate method. --- storage/devicetree.py | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/storage/devicetree.py b/storage/devicetree.py index 1692b0e..7bd9ecc 100644 --- a/storage/devicetree.py +++ b/storage/devicetree.py @@ -170,8 +170,6 @@ class DeviceTree(object): if luksDict and isinstance(luksDict, dict): self.__luksDevs = luksDict - self._populate() - def pruneActions(self): """ Prune loops and redundant actions from the queue. """ # handle device destroy actions @@ -1101,7 +1099,7 @@ class DeviceTree(object): log.info("setup of %s failed: %s" % (lv_device.name, e)) - def _populate(self): + def populate(self): """ Locate all storage devices. """ # each iteration scans any devices that have appeared since the # previous iteration -- 1.6.0.6 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list