diff options
author | David Lehman <dlehman@redhat.com> | 2009-04-30 12:51:58 -0500 |
---|---|---|
committer | David Lehman <dlehman@redhat.com> | 2009-04-30 15:56:51 -0500 |
commit | 9c453f33dd5deb85fd7f85a4a84eb977eeeb19fa (patch) | |
tree | c14cae875dcbdddcd6c0d665ec7ed0bd3d42ca3b /packages.py | |
parent | 8d29cf7c8291a9c13313a1b55747258bc9ee423d (diff) | |
download | anaconda-9c453f33dd5deb85fd7f85a4a84eb977eeeb19fa.tar.gz anaconda-9c453f33dd5deb85fd7f85a4a84eb977eeeb19fa.tar.xz anaconda-9c453f33dd5deb85fd7f85a4a84eb977eeeb19fa.zip |
Revert "DeviceError only returns a message, not (message, device) tuple (#496343)."
This reverts commit 7d2799eb905fae1d28607ae3adf3a2929c7e6ece. I changed
the places we raise DeviceError to also raise the device path, so this
change is not necessary.
Diffstat (limited to 'packages.py')
-rw-r--r-- | packages.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages.py b/packages.py index 275c7c764..33457772d 100644 --- a/packages.py +++ b/packages.py @@ -141,10 +141,10 @@ def turnOnFilesystems(anaconda): type = "custom", custom_buttons = [_("_Exit installer")]) sys.exit(1) - except DeviceError as msg: + except DeviceError as (msg, device): anaconda.intf.detailedMessageWindow(_("Device Setup Failed"), _("An error was encountered while " - "activating your storage configuration."), + "setting up device %s.") % (device,), msg, type = "custom", custom_buttons = [_("_Exit installer")]) |