[PATCH 1/5] Fix a traceback in verifying optical media on the source spoke.

Chris Lumens clumens at redhat.com
Wed Feb 27 20:43:08 UTC 2013


This was caused by 1821378de1aecbbf5806edcad34ee928f0892296, which changed what
was being stored in the DiskOverviews.
---
 pyanaconda/ui/gui/spokes/source.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pyanaconda/ui/gui/spokes/source.py b/pyanaconda/ui/gui/spokes/source.py
index 0b71e77..a6223f4 100644
--- a/pyanaconda/ui/gui/spokes/source.py
+++ b/pyanaconda/ui/gui/spokes/source.py
@@ -841,7 +841,7 @@ class SourceSpoke(NormalSpoke):
         dev = None
         for child in self._autodetectMediaBox.get_children():
             if child.get_chosen():
-                dev = child
+                dev = child.props.name
                 break
 
         return dev
@@ -923,7 +923,7 @@ class SourceSpoke(NormalSpoke):
 
         dialog = MediaCheckDialog(self.data)
         with enlightbox(self.window, dialog.window):
-            dialog.run(dev.path)
+            dialog.run("/dev/" + dev)
 
     def on_protocol_changed(self, combo):
         proxyButton = self.builder.get_object("proxyButton")
-- 
1.8.1.2



More information about the anaconda-patches mailing list