equal
deleted
inserted
replaced
229 |
229 |
230 def init_sources_from_database(self): |
230 def init_sources_from_database(self): |
231 self.sources_by_eid = {} |
231 self.sources_by_eid = {} |
232 if self.config.quick_start \ |
232 if self.config.quick_start \ |
233 or not 'CWSource' in self.schema: # # 3.10 migration |
233 or not 'CWSource' in self.schema: # # 3.10 migration |
|
234 self.system_source.init_creating() |
234 return |
235 return |
235 session = self.internal_session() |
236 session = self.internal_session() |
236 try: |
237 try: |
237 # FIXME: sources should be ordered (add_entity priority) |
238 # FIXME: sources should be ordered (add_entity priority) |
238 for sourceent in session.execute( |
239 for sourceent in session.execute( |