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

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



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,


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