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

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



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


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