From: David Lehman <dlehman(a)redhat.com>
---
blivet/populator/populator.py | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/blivet/populator/populator.py b/blivet/populator/populator.py
index 76a1d06..cba8edc 100644
--- a/blivet/populator/populator.py
+++ b/blivet/populator/populator.py
@@ -75,9 +75,6 @@ def __init__(self, conf=None, passphrase=None, luks_dict=None):
self.reset(conf=conf, passphrase=passphrase, luks_dict=luks_dict)
def reset(self, conf=None, passphrase=None, luks_dict=None):
- # indicates whether or not the tree has been fully populated
- self.populated = False
-
self.disk_images = {}
images = getattr(conf, "disk_images", {})
if images:
@@ -510,10 +507,6 @@ def _populate(self):
self.setup_disk_images()
- # mark the tree as unpopulated so exception handlers can tell the
- # exception originated while finding storage devices
- self.populated = False
-
self._resolve_protected_device_specs()
self._find_live_backing_device()
@@ -539,8 +532,6 @@ def _populate(self):
for dev in devices:
self.handle_device(dev)
- self.populated = True
-
# After having the complete tree we make sure that the system
# inconsistencies are ignored or resolved.
self._handle_inconsistencies()
--
To view this commit on github, visit
https://github.com/rhinstaller/blivet/commit/396f53f64e4989bc96e426a55af2...