diff options
Diffstat (limited to 'bitbake/lib/bb')
-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) |