summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/wget.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/fetch2/wget.py')
-rw-r--r--bitbake/lib/bb/fetch2/wget.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/bitbake/lib/bb/fetch2/wget.py b/bitbake/lib/bb/fetch2/wget.py
index ecb946aa81..23d48acb07 100644
--- a/bitbake/lib/bb/fetch2/wget.py
+++ b/bitbake/lib/bb/fetch2/wget.py
@@ -108,9 +108,8 @@ class Wget(FetchMethod):
108 bb.utils.mkdirhier(os.path.dirname(dldir + os.sep + ud.localfile)) 108 bb.utils.mkdirhier(os.path.dirname(dldir + os.sep + ud.localfile))
109 fetchcmd += " -O " + dldir + os.sep + ud.localfile 109 fetchcmd += " -O " + dldir + os.sep + ud.localfile
110 110
111 if ud.user: 111 if ud.user and ud.pswd:
112 up = ud.user.split(":") 112 fetchcmd += " --user=%s --password=%s --auth-no-challenge" % (ud.user, ud.pswd)
113 fetchcmd += " --user=%s --password=%s --auth-no-challenge" % (up[0],up[1])
114 113
115 uri = ud.url.split(";")[0] 114 uri = ud.url.split(";")[0]
116 if os.path.exists(ud.localpath): 115 if os.path.exists(ud.localpath):