diff -r 9767cc516b4f -r 083b4d454192 goa/gaesource.py --- 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)