[PATCH 2/5] On SuspendError, allow users to skip/format/exit like OldSwapError.

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

 



Before the storage rewrite, we let users force a reformat of a detected
swap volume currently being used as a software suspend volume, skip it
entirely, or exit the installer.  Bring that functionality back rather
than forcing an exit.
---
 storage/__init__.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/storage/__init__.py b/storage/__init__.py
index 2d7bcfc..4399d36 100644
--- a/storage/__init__.py
+++ b/storage/__init__.py
@@ -1648,8 +1648,8 @@ class FSSet(object):
                                     "to format all swap devices.") \
                                   % device.path
 
-                        anaconda.intf.messageWindow(_("Error"), msg)
-                    sys.exit(0)
+                        if swapErrorDialog(msg, device):
+                            continue
                 except DeviceError as (msg, name):
                     if anaconda.intf:
                         if upgrading:
-- 
1.6.2.5

_______________________________________________
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