[PATCH 2/3] Add full proxy URL to writeKS (#602705)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Grab the full URL from the repo object. The 3 elements of the dict are
all set the same so just pick http.

Also fix a typo.

Related: rhbz#602705
---
 yuminstall.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/yuminstall.py b/yuminstall.py
index ce429d5..5c05be9 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -1936,7 +1936,7 @@ debuglevel=10
                 line += " --mirrorlist=%s" % repo.mirrorlist
 
             if repo.proxy:
-                line +=- " --proxy=\"%s\"" % repo.proxy
+                line += " --proxy=\"%s\"" % repo.proxy_dict['http']
 
             if repo.cost:
                 line += " --cost=%s" % repo.cost
-- 
1.7.0.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux