rset.py
branchstable
changeset 8743 27a83746aebd
parent 8695 358d8bed9626
child 9281 49a7392bb5b5
equal deleted inserted replaced
8742:bd374bd906f3 8743:27a83746aebd
   640             index = rel.children[0].root_selection_index()
   640             index = rel.children[0].root_selection_index()
   641             if index is not None and self.rows[row][index]:
   641             if index is not None and self.rows[row][index]:
   642                 try:
   642                 try:
   643                     entity = self.get_entity(row, index)
   643                     entity = self.get_entity(row, index)
   644                     return entity, rel.r_type
   644                     return entity, rel.r_type
   645                 except NotAnEntity, exc:
   645                 except NotAnEntity as exc:
   646                     return None, None
   646                     return None, None
   647         return None, None
   647         return None, None
   648 
   648 
   649     @cached
   649     @cached
   650     def searched_text(self):
   650     def searched_text(self):