On 04/01/2017, 17.43, "Mariano Lopez"
wrote:
>
>On 28/12/16 07:02, Markus Lehtonen wrote:
>> -def dict_to_XML(tag, dictionary):
>> +def dict_to_XML(tag, dictionary, **kwargs):
>> """ Return XML element converting dicts recursively. """
>>
>> -elem = Element(tag)
>> +elem = Element(t
On 28/12/16 07:02, Markus Lehtonen wrote:
> -def dict_to_XML(tag, dictionary):
> +def dict_to_XML(tag, dictionary, **kwargs):
> """ Return XML element converting dicts recursively. """
>
> -elem = Element(tag)
> +elem = Element(tag, **kwargs)
> for key, val in dictionary.items
Have the layer name as an attribute instead of of the name of the
element itself. That is, have instead of
. A bit better XML design.
[YOCTO #10590]
Signed-off-by: Markus Lehtonen
---
meta/lib/oeqa/utils/metadata.py | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/me