equal
deleted
inserted
replaced
209 for eschema in self.session.repo.schema.entities(): |
209 for eschema in self.session.repo.schema.entities(): |
210 if not eschema.final: |
210 if not eschema.final: |
211 clear_cache(eschema, 'ordered_relations') |
211 clear_cache(eschema, 'ordered_relations') |
212 |
212 |
213 def postcommit_event(self): |
213 def postcommit_event(self): |
214 rebuildinfered = self.session.data.get('rebuild-infered', True) |
214 rebuildinfered = self.session.get_shared_data('rebuild-infered', True) |
215 repo = self.session.repo |
215 repo = self.session.repo |
216 # commit event should not raise error, while set_schema has chances to |
216 # commit event should not raise error, while set_schema has chances to |
217 # do so because it triggers full vreg reloading |
217 # do so because it triggers full vreg reloading |
218 try: |
218 try: |
219 if rebuildinfered: |
219 if rebuildinfered: |