[PATCH 4/5] Fix an undetected bug when setting up an HTTPS method.

Chris Lumens clumens at redhat.com
Tue Oct 23 15:02:23 UTC 2012


---
 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 65d6b28..3685fcd 100644
--- a/pyanaconda/ui/gui/spokes/source.py
+++ b/pyanaconda/ui/gui/spokes/source.py
@@ -481,7 +481,7 @@ class SourceSpoke(NormalSpoke):
                 self.data.method.url = "ftp://" + self.data.method.url
             elif self._protocolComboBox.get_active() == 1 and not self.data.method.url.startswith("http://"):
                 self.data.method.url = "http://" + self.data.method.url
-            elif self._protocolComboBox.get_active() == 1 and not self.data.method.url.startswith("https://"):
+            elif self._protocolComboBox.get_active() == 2 and not self.data.method.url.startswith("https://"):
                 self.data.method.url = "https://" + self.data.method.url
 
             if (old_source.method == "url" and
-- 
1.7.11.2



More information about the anaconda-patches mailing list