[PATCH 3 of 3 eac V2] Change EACResourceRelation fetch_attrs for xml_attributes

Guillaume Vandevelde guillaume.vandevelde at logilab.fr
Mon Aug 19 15:30:18 CEST 2019


# HG changeset patch
# User Guillaume Vandevelde <gvandevelde at logilab.fr>
# Date 1566219060 -7200
#      Mon Aug 19 14:51:00 2019 +0200
# Node ID 7c1a15ebadbd398224fc74e821a3bfd23f9d30fe
# Parent  a6e392e15281f1dad5934b11f26e9694e674143d
# Available At http://hg.logilab.org/review/cubes/eac
#              hg pull http://hg.logilab.org/review/cubes/eac -r 7c1a15ebadbd
Change EACResourceRelation fetch_attrs for xml_attributes

diff -r a6e392e15281 -r 7c1a15ebadbd cubicweb_eac/entities.py
--- a/cubicweb_eac/entities.py	Mon Aug 19 15:08:28 2019 +0200
+++ b/cubicweb_eac/entities.py	Mon Aug 19 14:51:00 2019 +0200
@@ -122,7 +122,7 @@
 class EACResourceRelation(AnyEntity, JsonAttrsMixin):
     __regid__ = 'EACResourceRelation'
     fetch_attrs, cw_fetch_order = fetch_config(('agent_role',
-                                                'attributes',
+                                                'xml_attributes',
                                                 'resource_role',
                                                 'description'))
 



More information about the saem-devel mailing list