---
blivet/devicetree.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/blivet/devicetree.py b/blivet/devicetree.py
index d32f09e..1f1ee4f 100644
--- a/blivet/devicetree.py
+++ b/blivet/devicetree.py
@@ -1686,6 +1686,9 @@ class DeviceTree(object):
devicelibs.lvm.lvm_cc_addFilterRejectRegexp(pv.name)
def hide(self, device):
+ if device in self._hidden:
+ return
+
for d in self.getChildren(device):
self.hide(d)
--
1.8.1.2