sobjects/supervising.py
branchstable
changeset 2195 58bef4f707ce
parent 2102 268659907769
child 2234 1fbcf202882d
--- a/sobjects/supervising.py	Mon Jun 29 16:18:07 2009 +0200
+++ b/sobjects/supervising.py	Mon Jun 29 17:02:51 2009 +0200
@@ -48,7 +48,7 @@
     events = ('before_delete_entity',)
 
     def _call(self, eid):
-        entity = self.session.entity(eid)
+        entity = self.session.entity_from_eid(eid)
         try:
             title = entity.dc_title()
         except: