server/session.py
branchstable
changeset 5014 96bb4e7e3348
parent 4992 398cc8b39aec
child 5046 d010f749c21d
--- a/server/session.py	Thu Mar 25 13:59:47 2010 +0100
+++ b/server/session.py	Thu Mar 25 14:00:01 2010 +0100
@@ -591,10 +591,7 @@
             ecache[entity.eid] = entity
 
     def entity_cache(self, eid):
-        try:
-            return self.transaction_data['ecache'][eid]
-        except:
-            raise
+        return self.transaction_data['ecache'][eid]
 
     def cached_entities(self):
         return self.transaction_data.get('ecache', {}).values()