test/data/entities.py
changeset 7827 9bbf83f68bcc
parent 5424 8ecbcbff9777
child 9214 be05b42b4825
--- a/test/data/entities.py	Thu Sep 22 09:56:20 2011 +0200
+++ b/test/data/entities.py	Thu Sep 22 16:12:23 2011 +0200
@@ -1,4 +1,4 @@
-# copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+# copyright 2003-2011 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
 #
 # This file is part of CubicWeb.
@@ -15,9 +15,7 @@
 #
 # You should have received a copy of the GNU Lesser General Public License along
 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
-"""
 
-"""
 from cubicweb.entities import AnyEntity, fetch_config
 
 class Societe(AnyEntity):
@@ -27,7 +25,7 @@
 class Personne(Societe):
     """customized class forne Person entities"""
     __regid__ = 'Personne'
-    fetch_attrs, fetch_order = fetch_config(['nom', 'prenom'])
+    fetch_attrs, cw_fetch_order = fetch_config(['nom', 'prenom'])
     rest_attr = 'nom'