[master/f23-branch] Pass strings to blockdev.dasd_format, not a DASDDevice object. (#1273553)
Brian C. Lane
bcl at redhat.com
Wed Oct 21 01:03:59 UTC 2015
On Tue, Oct 20, 2015 at 01:32:59PM -0400, Samantha N. Bueno wrote:
> 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
Ack
--
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
More information about the anaconda-patches
mailing list