]> code.ossystems Code Review - openembedded-core.git/commit
lib/oe/utils: Add function format_pkg_list()
authorMariano Lopez <mariano.lopez@linux.intel.com>
Mon, 18 Jan 2016 14:33:05 +0000 (14:33 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Jan 2016 09:20:05 +0000 (09:20 +0000)
commit25725e6e5fff8017aaf3a6fcd9b1b893c22630b5
treefd60432e89c3e176559cf9f005cf2802d7a86195
parent6cbb144a86a8188fad102bb281fd9e8d0a4b9142
lib/oe/utils: Add function format_pkg_list()

The class PkgsList returns a dictionary with all the installed
packages, because the data structure is a dictionary there is
needed to format the data in order to write to a file.

The function format_pkg_list returns a formated sting with all
packages installed. The output will depend on the requested format
when calling the function.

[YOCTO #7427]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/lib/oe/utils.py