diff options
Diffstat (limited to 'bitbake/lib/bb/parse/parse_py/BBHandler.py')
-rw-r--r-- | bitbake/lib/bb/parse/parse_py/BBHandler.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/parse/parse_py/BBHandler.py b/bitbake/lib/bb/parse/parse_py/BBHandler.py index 20fa60355e..5f8426df24 100644 --- a/bitbake/lib/bb/parse/parse_py/BBHandler.py +++ b/bitbake/lib/bb/parse/parse_py/BBHandler.py | |||
@@ -400,14 +400,14 @@ def set_additional_vars(file, d, include): | |||
400 | 400 | ||
401 | from bb import fetch | 401 | from bb import fetch |
402 | try: | 402 | try: |
403 | fetch.init(src_uri.split(), d) | 403 | ud = fetch.init(src_uri.split(), d) |
404 | a += fetch.localpaths(d, ud) | ||
404 | except fetch.NoMethodError: | 405 | except fetch.NoMethodError: |
405 | pass | 406 | pass |
406 | except bb.MalformedUrl,e: | 407 | except bb.MalformedUrl,e: |
407 | raise ParseError("Unable to generate local paths for SRC_URI due to malformed uri: %s" % e) | 408 | raise ParseError("Unable to generate local paths for SRC_URI due to malformed uri: %s" % e) |
408 | |||
409 | a += fetch.localpaths(d) | ||
410 | del fetch | 409 | del fetch |
410 | |||
411 | data.setVar('A', " ".join(a), d) | 411 | data.setVar('A', " ".join(a), d) |
412 | 412 | ||
413 | 413 | ||