Re: [PATCH] parted.PartedDisk can throw IOExceptions too (#573539)

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

 



                  try:
                      self._partedDisk = parted.Disk(device=self.partedDevice)
-                except _ped.DiskLabelException as e:
+                except (_ped.DiskLabelException, IOException) as e:
                      raise InvalidDiskLabelError()

ack

_______________________________________________
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