author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Thu, 25 Mar 2010 14:00:01 +0100 | |
branch | stable |
changeset 5014 | 96bb4e7e3348 |
parent 5013 | ad91f93bbb93 |
child 5015 | 55e2602545cd |
server/session.py | file | annotate | diff | comparison | revisions |
--- 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()