[rhel7-branch 1/1] Fix invalid access to a name attribute on device name strings.
lucastadeu
installerbot-noreply at redhat.com
Thu Jun 4 17:36:29 UTC 2015
From: Lucas Tadeu Teixeira <ltadeu at br.ibm.com>
The findActiveDevicesOnActionDisks method returns a list with the names
(strings) of the active devices. There is not a 'name' attribute to be
accessed.
---
blivet/devicetree.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/blivet/devicetree.py b/blivet/devicetree.py
index dbcbfd8..ed77f79 100644
--- a/blivet/devicetree.py
+++ b/blivet/devicetree.py
@@ -257,7 +257,7 @@ def _preProcessActions(self):
else:
raise RuntimeError("partitions in use on disks with changes "
"pending: %s" %
- ",".join(p.name for p in problematic))
+ ",".join(problematic))
log.info("resetting parted disks...")
for device in self.devices:
--
To view this commit on github, visit https://github.com/rhinstaller/blivet/commit/d7d8f889c8e6d64cbd645b75630cd886671f7f77
More information about the anaconda-patches
mailing list