[server] Drop condition on "3.10" migration in repo.init_sources_from_database() 3.25
authorDenis Laxalde <denis.laxalde@logilab.fr>
Tue, 04 Apr 2017 16:06:44 +0200
branch3.25
changeset 12130 4d874c2fbb5f
parent 12129 6e5446b871d8
child 12131 8672535c3b89
[server] Drop condition on "3.10" migration in repo.init_sources_from_database() We'll duplicate the code of this method in forthcoming changeset so clean it up a bit of old stuff.
cubicweb/server/repository.py
--- a/cubicweb/server/repository.py	Thu Mar 30 16:18:12 2017 +0200
+++ b/cubicweb/server/repository.py	Tue Apr 04 16:06:44 2017 +0200
@@ -307,7 +307,7 @@
     # internals ###############################################################
 
     def init_sources_from_database(self):
-        if self.config.quick_start or 'CWSource' not in self.schema:  # 3.10 migration
+        if self.config.quick_start:
             self.system_source.init_creating()
             return
         with self.internal_cnx() as cnx: