Re: [f13-branch] Go to tty1 after "Unknown Device" dialog (#577380)

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/29/2010 05:26 AM, Ales Kozumplik wrote:
> I am going to give master some nice refactoring too.
> ---
>  storage/__init__.py |    5 +++++
>  1 files changed, 5 insertions(+), 0 deletions(-)
> 
> diff --git a/storage/__init__.py b/storage/__init__.py
> index e37f9e9..6a02c13 100644
> --- a/storage/__init__.py
> +++ b/storage/__init__.py
> @@ -105,6 +105,11 @@ def storageInitialize(anaconda):
>                        "could not be found.  Please check your "
>                        "parameters and try again.") % devspec,
>                      type="custom", custom_buttons = [_("_Exit installer")])
> +                # vtActivate() might fail on certain ppc64 machines
> +                try:
> +                    isys.vtActivate(1)
> +                except SystemError:
> +                    pass
>                  sys.exit(1)
>      else:
>          storage.reset()

This would be cleaner if you used the iutil.abnormal_exit(self.exitcode)
 method you added in the other patch

- -- 
Brian C. Lane <bcl@xxxxxxxxxx>
Red Hat / Port Orchard, WA
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEVAwUBS7E/YhF+jBaO/jp/AQKtzAf7BkJHViePlwm9FIWUlW6nBg6ym6I3j0NF
szcCRgvc66cckgajlHz81ROavDUkb7VEbUaAVDq8srmeh8/dDgPCv3rocNRwVntA
vTqObNN3SfqjQlQEKbOgy5qe+MWWHU31Lf0XqRd111AhPPO32thmZtTGm/Ihaa3L
C4/U6CP5VwskTF+55xBRGMaBP5M7wxLhG2VvaJTXOK39/rpENlFJXGrdkdmzJcte
hdAkSbKFBZGdyx15nu+U2l5jmzk0k9ioRzyyLuKbqsm8ZKB4YpHF+sf9eztDC0nO
+D428RlIzMdHH4QJof17oQgAXJnslC8aslpBztSwaFTPn518sIlSRg==
=Q9xk
-----END PGP SIGNATURE-----

_______________________________________________
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