cubicweb/sobjects/supervising.py
changeset 11765 9cb215e833b0
parent 11057 0b59724cb3f2
child 11767 432f87a63057
--- a/cubicweb/sobjects/supervising.py	Thu Oct 06 12:15:50 2016 +0200
+++ b/cubicweb/sobjects/supervising.py	Sat Oct 01 11:56:27 2016 +0200
@@ -147,7 +147,7 @@
         cnx = self._cw
         def describe(eid):
             try:
-                return cnx._(cnx.entity_metas(eid)['type']).lower()
+                return cnx._(cnx.entity_type(eid)).lower()
             except UnknownEid:
                 # may occurs when an entity has been deleted from an external
                 # source and we're cleaning its relation