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

Re: [PATCH] Don't unconditionally unskip the partition step on failure (#567889).



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

On Wed, 24 Feb 2010, Chris Lumens wrote:

Remember that this step does not exist in text mode and we therefore cannot
add it back into the step list when autopart fails.
---
storage/partitioning.py |    4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/storage/partitioning.py b/storage/partitioning.py
index 87154ee..7001d41 100644
--- a/storage/partitioning.py
+++ b/storage/partitioning.py
@@ -232,7 +232,9 @@ def doAutoPartition(anaconda):
        anaconda.storage.reset()
        if not anaconda.ksdata:
            extra = ""
-            anaconda.dispatch.skipStep("partition", skip = 0)
+
+            if anaconda.displayMode != "t":
+                anaconda.dispatch.skipStep("partition", skip = 0)
        else:
            extra = _("\n\nPress 'OK' to exit the installer.")
        anaconda.intf.messageWindow(_("Error Partitioning"),


Ack.

- -- David Cantrell <dcantrell redhat com>
Red Hat / Honolulu, HI

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkuFuM0ACgkQ5hsjjIy1Vkl/vgCaAgCYL2OmDAzR6TF7kQ8XAyLo
+LgAn0CISjeFFh3dIKJCWH2fbd2Nx/ew
=fmc+
-----END PGP SIGNATURE-----


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