equal
deleted
inserted
replaced
136 return self.select('Any', 'Any') |
136 return self.select('Any', 'Any') |
137 eschema = self.schema.eschema(etype) |
137 eschema = self.schema.eschema(etype) |
138 baseschemas = [eschema] + eschema.ancestors() |
138 baseschemas = [eschema] + eschema.ancestors() |
139 # browse ancestors from most specific to most generic and try to find an |
139 # browse ancestors from most specific to most generic and try to find an |
140 # associated custom entity class |
140 # associated custom entity class |
141 cls = None |
|
142 for baseschema in baseschemas: |
141 for baseschema in baseschemas: |
143 try: |
142 try: |
144 btype = ETYPE_NAME_MAP[baseschema] |
143 btype = ETYPE_NAME_MAP[baseschema] |
145 except KeyError: |
144 except KeyError: |
146 btype = str(baseschema) |
145 btype = str(baseschema) |