[master/f23-branch] Pass strings to blockdev.dasd_format, not a DASDDevice object. (#1273553)
Samantha N. Bueno
sbueno+anaconda at redhat.com
Tue Oct 20 17:32:59 UTC 2015
Otherwise, a traceback occurs.
Resolves: rhbz#1273553
---
pyanaconda/ui/gui/spokes/storage.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyanaconda/ui/gui/spokes/storage.py b/pyanaconda/ui/gui/spokes/storage.py
index e27aeaa..6d028b5 100644
--- a/pyanaconda/ui/gui/spokes/storage.py
+++ b/pyanaconda/ui/gui/spokes/storage.py
@@ -707,7 +707,7 @@ class StorageSpoke(NormalSpoke, StorageChecker):
hubQ.send_message(self.__class__.__name__, _("Formatting DASDs"))
for disk in to_format:
try:
- blockdev.s390.dasd_format(disk)
+ blockdev.s390.dasd_format(disk.name)
except blockdev.S390Error as err:
# Log errors if formatting fails, but don't halt the installer
log.error(str(err))
--
2.1.0
More information about the anaconda-patches
mailing list