diff options
author | Richard Purdie <richard@openedhand.com> | 2007-08-03 13:40:52 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-08-03 13:40:52 +0000 |
commit | bfc70eb24e3ded25007811b1531673fa70b02401 (patch) | |
tree | fa4a29290d3178937fa085c147e8a51f815c6fdc /bitbake/lib/bb/parse/parse_py/BBHandler.py | |
parent | 034bbb805be0002fe6d689abde19662868b57b2c (diff) | |
download | poky-bfc70eb24e3ded25007811b1531673fa70b02401.tar.gz |
bitbake: Update along 1.8 branch
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2345 311d38ba-8fff-0310-9ca6-ca027cbcb966
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 | ||