sobjects/supervising.py
changeset 9469 032825bbacab
parent 8190 2a3c1b787688
child 9753 64d02d18c3c3
--- a/sobjects/supervising.py	Thu Jan 23 12:32:16 2014 +0100
+++ b/sobjects/supervising.py	Thu Jan 23 13:47:28 2014 +0100
@@ -145,7 +145,7 @@
         session = self._cw
         def describe(eid):
             try:
-                return session._(session.describe(eid)[0]).lower()
+                return session._(session.entity_metas(eid)['type']).lower()
             except UnknownEid:
                 # may occurs when an entity has been deleted from an external
                 # source and we're cleaning its relation