[PATCH eac V6] Add support for <functionRelation> in <cpfRelation>

gvandevelde guillaume.vandevelde at logilab.fr
Tue Aug 13 09:57:07 CEST 2019


On 8/13/19 9:46 AM, Denis Laxalde wrote:
> Guillaume Vandevelde a écrit :
>> The method .pop() will raise an error if the key doesn't exist, I have to
>> check it existence.
> d.pop(<key>, <default value>) returns <default value> if <key> is not in d.
>
> Hence what I initially suggested:
>
>    relationship = elem.attrib.pop('functionRelationType', None)
>
Ok I'll use this method



More information about the saem-devel mailing list