Re: [PATCH] For the catch-all case, put the message into the UI, not the exn (#536854).

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

 



Ack.

Hehe, you fixed it even before I assigned the bug to you :)

Regards,

Hans


On 11/11/2009 08:06 PM, Chris Lumens wrote:
---
  packages.py |    4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/packages.py b/packages.py
index 02c3c92..8342cdf 100644
--- a/packages.py
+++ b/packages.py
@@ -153,12 +153,12 @@ def turnOnFilesystems(anaconda):
              message = _("An error was encountered while "
                          "formatting device %s.") % (device,)
              details = msg
-        except Exception as msg:
+        except Exception as e:
              # catch-all
              title = _("Storage Activation Failed")
              message = _("An error was encountered while "
                          "activating your storage configuration.")
-            details = msg
+            details = str(e)

          if title:
              rc = anaconda.intf.detailedMessageWindow(title, message, details,

_______________________________________________
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