From 3b3cb7813443468e8052ffa1567b2ca86dc989d9 Mon Sep 17 00:00:00 2001 From: Chris Lumens Date: Fri, 16 Mar 2012 11:10:57 -0400 Subject: Fix a typo when setting an HTTP method in the source's apply method. --- pyanaconda/ui/gui/spokes/source.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyanaconda') diff --git a/pyanaconda/ui/gui/spokes/source.py b/pyanaconda/ui/gui/spokes/source.py index 4fee9a992..e242d68b0 100644 --- a/pyanaconda/ui/gui/spokes/source.py +++ b/pyanaconda/ui/gui/spokes/source.py @@ -196,7 +196,7 @@ class SourceSpoke(NormalSpoke): # revisited. if self._ftp_active() and not self.data.method.url.startswith("ftp://"): self.data.method.url = "ftp://" + self.data.method.url - elif self._protocolComboBox.get_active() == 0 and not self.data.method.url.startswith("http://"): + 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://"): self.data.method.url = "https://" + self.data.method.url -- cgit