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]

 



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

>  
>      @property
>      def devices(self):

_______________________________________________
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