Re: [anaconda-storage-branch PATCH] Catch FSError when detecting storage, prevent user from continuing.

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

 



On 03/19/2009 06:52 PM, David Lehman wrote:
+            self.devicetree.populate()
+            self.fsset = FSSet(self.devicetree)
+            w.pop()
+        except FSError as e:
+            w.pop()
+            self.anaconda.intf.messageWindow(_("Error"),
+                _("Filesystem error detected, cannot continue."),
+                custom_icon="error")
+            sys.exit(0)

I'd move the w.pop() into a "finally" clause, but otherwise it looks
good.

Made that change, applied, pushed.



      @property
      def devices(self):

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


--
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