summaryrefslogtreecommitdiffstats
path: root/pyanaconda
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2012-03-16 11:10:57 -0400
committerChris Lumens <clumens@redhat.com>2012-03-20 10:51:56 -0400
commit3b3cb7813443468e8052ffa1567b2ca86dc989d9 (patch)
treebe8c2675ffe3838a1a876964cd2b4ae83576b9c1 /pyanaconda
parent4adcf1e404abb8b3486e00e81d34954a0166cbae (diff)
downloadanaconda-3b3cb7813443468e8052ffa1567b2ca86dc989d9.tar.gz
anaconda-3b3cb7813443468e8052ffa1567b2ca86dc989d9.tar.xz
anaconda-3b3cb7813443468e8052ffa1567b2ca86dc989d9.zip
Fix a typo when setting an HTTP method in the source's apply method.
Diffstat (limited to 'pyanaconda')
-rw-r--r--pyanaconda/ui/gui/spokes/source.py2
1 files changed, 1 insertions, 1 deletions
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