Re: [PATCH 7/9] disk is a DiskDevice, not a parted.Disk, so it has no device attribute.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



David Lehman wrote:
diff --git a/iw/autopart_type.py b/iw/autopart_type.py
index 0c8e6c9..a316279 100644
--- a/iw/autopart_type.py
+++ b/iw/autopart_type.py
@@ -389,7 +389,7 @@ class PartitionTypeWindow(InstallWindow):
                                          size, partedDisk.device.model)
             i = bootstore.append(None)
             bootstore[i] = (dispstr, partedDisk.device.path[5:])
-            if disk.device.path[5:] == defaultBoot:
+            if disk.path[5:] == defaultBoot:

For this we have disk.name -- we should never have to do this slicing
anymore.

Excellent. I'll change that and post a new patch, unless it's already been done.

--
David Cantrell <dcantrell@xxxxxxxxxx>
Red Hat / Honolulu, HI

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux