[PATCH 1/2] Check that we're doing an HD install before examining the attr (#989428).

Chris Lumens clumens at redhat.com
Mon Jul 29 20:02:26 UTC 2013


---
 pyanaconda/ui/gui/spokes/source.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyanaconda/ui/gui/spokes/source.py b/pyanaconda/ui/gui/spokes/source.py
index 69ee7bb..ba20564 100644
--- a/pyanaconda/ui/gui/spokes/source.py
+++ b/pyanaconda/ui/gui/spokes/source.py
@@ -615,7 +615,7 @@ class SourceSpoke(NormalSpoke):
         idx = 0
         for dev in potentialHdisoSources(self.storage.devicetree):
             store.append([dev, "%s (%s MB)" % (self._sanitize_model(dev.disk.model), int(dev.size))])
-            if dev.name == self.data.method.partition:
+            if self.data.method.method == "harddrive" and dev.name == self.data.method.partition:
                 active = idx
             added = True
             idx += 1
-- 
1.8.1.2



More information about the anaconda-patches mailing list