summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2013-02-27 13:42:11 -0500
committerChris Lumens <clumens@redhat.com>2013-02-28 08:46:58 -0500
commit9d99eaf67266ad43b982e2593f6d113ec2d29dbf (patch)
tree4b7e16ca683c5b8d8ca90184551296a7e1f33cf2
parentb685e70a65790ca648562192816e3d0af9a7967e (diff)
downloadanaconda-9d99eaf67266ad43b982e2593f6d113ec2d29dbf.tar.gz
anaconda-9d99eaf67266ad43b982e2593f6d113ec2d29dbf.tar.xz
anaconda-9d99eaf67266ad43b982e2593f6d113ec2d29dbf.zip
Fix a traceback in verifying optical media on the source spoke.
This was caused by 1821378de1aecbbf5806edcad34ee928f0892296, which changed what was being stored in the DiskOverviews.
-rw-r--r--pyanaconda/ui/gui/spokes/source.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyanaconda/ui/gui/spokes/source.py b/pyanaconda/ui/gui/spokes/source.py
index 0b71e771c..a6223f464 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")