summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oe/utils.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/lib/oe/utils.py b/meta/lib/oe/utils.py
index 93b0763..d05f517 100644
--- a/meta/lib/oe/utils.py
+++ b/meta/lib/oe/utils.py
@@ -347,7 +347,13 @@ def format_pkg_list(pkg_dict, ret_format=None):
347 for pkg in sorted(pkg_dict): 347 for pkg in sorted(pkg_dict):
348 output.append(pkg) 348 output.append(pkg)
349 349
350 return '\n'.join(output) 350 output_str = '\n'.join(output)
351
352 if output_str:
353 # make sure last line is newline terminated
354 output_str += '\n'
355
356 return output_str
351 357
352def host_gcc_version(d, taskcontextonly=False): 358def host_gcc_version(d, taskcontextonly=False):
353 import re, subprocess 359 import re, subprocess