diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/fetch/__init__.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch/__init__.py b/bitbake/lib/bb/fetch/__init__.py index e6b2851b91..9ca5556089 100644 --- a/bitbake/lib/bb/fetch/__init__.py +++ b/bitbake/lib/bb/fetch/__init__.py | |||
@@ -315,6 +315,10 @@ class FetchData(object): | |||
315 | (self.type, self.host, self.path, self.user, self.pswd, self.parm) = bb.decodeurl(data.expand(url, d)) | 315 | (self.type, self.host, self.path, self.user, self.pswd, self.parm) = bb.decodeurl(data.expand(url, d)) |
316 | self.date = Fetch.getSRCDate(self, d) | 316 | self.date = Fetch.getSRCDate(self, d) |
317 | self.url = url | 317 | self.url = url |
318 | if not self.user and "user" in self.parm: | ||
319 | self.user = self.parm["user"] | ||
320 | if not self.pswd and "pswd" in self.parm: | ||
321 | self.pswd = self.parm["pswd"] | ||
318 | self.setup = False | 322 | self.setup = False |
319 | for m in methods: | 323 | for m in methods: |
320 | if m.supports(url, self, d): | 324 | if m.supports(url, self, d): |