server/repository.py
changeset 7562 cdef82ca9eab
parent 7543 570522300e22
parent 7550 183a61d1bab9
child 7574 34154f48d255
equal deleted inserted replaced
7554:fdace9d67d96 7562:cdef82ca9eab
   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(