equal
deleted
inserted
replaced
366 return req.entity_cache(eid) |
366 return req.entity_cache(eid) |
367 except KeyError: |
367 except KeyError: |
368 pass |
368 pass |
369 # build entity instance |
369 # build entity instance |
370 etype = self.description[row][col] |
370 etype = self.description[row][col] |
|
371 if etype == 'EUser': |
|
372 import traceback |
|
373 traceback.printstack() |
371 entity = self.vreg.etype_class(etype)(req, self, row, col) |
374 entity = self.vreg.etype_class(etype)(req, self, row, col) |
372 entity.set_eid(eid) |
375 entity.set_eid(eid) |
373 # cache entity |
376 # cache entity |
374 if _localcache is not None: |
377 if _localcache is not None: |
375 _localcache[eid] = entity |
378 _localcache[eid] = entity |