goa/gaesource.py
changeset 4913 083b4d454192
parent 4212 ab6573088b4a
child 5421 8167de96c523
--- a/goa/gaesource.py	Wed Mar 10 16:07:24 2010 +0100
+++ b/goa/gaesource.py	Mon Mar 01 11:26:14 2010 +0100
@@ -255,10 +255,11 @@
                 if asession.user.eid == entity.eid:
                     asession.user.update(dict(gaeentity))
 
-    def delete_entity(self, session, etype, eid):
+    def delete_entity(self, session, entity):
         """delete an entity from the source"""
         # do not delay delete_entity as other modifications to ensure
         # consistency
+        eid = entity.eid
         key = Key(eid)
         Delete(key)
         session.clear_datastore_cache(key)