diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2012-02-29 22:15:18 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-01 15:51:34 +0000 |
commit | 2d2394320981c04d93c74fc348449cf896cf4b40 (patch) | |
tree | f81aae934071ea2c9a119d379faea6b9d27937e6 /bitbake/lib/bb/cooker.py | |
parent | 612173b48fb40f0ae8c5a73ea13749a2670c7cd4 (diff) | |
download | poky-2d2394320981c04d93c74fc348449cf896cf4b40.tar.gz |
cooker.py: Fix a bug due to variable name
fnid is an outer variable and shouldn't be overrided, change the inner variable
name from 'fnid' to 'id'.
(Bitbake rev: c6dc8d6310af22c95adb06c64339e7ec9eaeb315)
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 6cc0504c26..303cd006b8 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -505,8 +505,8 @@ class BBCooker: | |||
505 | pn_provider = "" | 505 | pn_provider = "" |
506 | targetid = taskdata.getbuild_id(item) | 506 | targetid = taskdata.getbuild_id(item) |
507 | if targetid in taskdata.build_targets and taskdata.build_targets[targetid]: | 507 | if targetid in taskdata.build_targets and taskdata.build_targets[targetid]: |
508 | fnid = taskdata.build_targets[targetid][0] | 508 | id = taskdata.build_targets[targetid][0] |
509 | fn_provider = taskdata.fn_index[fnid] | 509 | fn_provider = taskdata.fn_index[id] |
510 | pn_provider = self.status.pkg_fn[fn_provider] | 510 | pn_provider = self.status.pkg_fn[fn_provider] |
511 | else: | 511 | else: |
512 | pn_provider = item | 512 | pn_provider = item |