diff options
author | Zygmunt Krynicki <zygmunt.krynicki@huawei.com> | 2022-02-19 17:40:05 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-02-20 16:45:24 +0000 |
commit | e0342695a80f46c872bfba2a3f7b171866a51831 (patch) | |
tree | bbff8fdf89cd7ec42df2be4bf435aafd590e30cc | |
parent | 59fdcddf05a9aed00b4edd398d6dc82689bfd564 (diff) | |
download | poky-e0342695a80f46c872bfba2a3f7b171866a51831.tar.gz |
bitbake: cooker: Fix typo "isn't" and "tuples"
(Bitbake rev: ac688b6e93faa51d48768b677685499862d3e7c4)
Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 d1d4e32595..2ed984d769 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -607,7 +607,7 @@ class BBCooker: | |||
607 | data.emit_env(env, envdata, True) | 607 | data.emit_env(env, envdata, True) |
608 | logger.plain(env.getvalue()) | 608 | logger.plain(env.getvalue()) |
609 | 609 | ||
610 | # emit the metadata which isnt valid shell | 610 | # emit the metadata which isn't valid shell |
611 | for e in sorted(envdata.keys()): | 611 | for e in sorted(envdata.keys()): |
612 | if envdata.getVarFlag(e, 'func', False) and envdata.getVarFlag(e, 'python', False): | 612 | if envdata.getVarFlag(e, 'func', False) and envdata.getVarFlag(e, 'python', False): |
613 | logger.plain("\npython %s () {\n%s}\n", e, envdata.getVar(e, False)) | 613 | logger.plain("\npython %s () {\n%s}\n", e, envdata.getVar(e, False)) |
@@ -1763,7 +1763,7 @@ class CookerCollectFiles(object): | |||
1763 | def __init__(self, priorities, mc=''): | 1763 | def __init__(self, priorities, mc=''): |
1764 | self.mc = mc | 1764 | self.mc = mc |
1765 | self.bbappends = [] | 1765 | self.bbappends = [] |
1766 | # Priorities is a list of tupples, with the second element as the pattern. | 1766 | # Priorities is a list of tuples, with the second element as the pattern. |
1767 | # We need to sort the list with the longest pattern first, and so on to | 1767 | # We need to sort the list with the longest pattern first, and so on to |
1768 | # the shortest. This allows nested layers to be properly evaluated. | 1768 | # the shortest. This allows nested layers to be properly evaluated. |
1769 | self.bbfile_config_priorities = sorted(priorities, key=lambda tup: tup[1], reverse=True) | 1769 | self.bbfile_config_priorities = sorted(priorities, key=lambda tup: tup[1], reverse=True) |