cubicweb/server/repository.py
branch3.25
changeset 12148 79160d54662e
parent 12147 232eefd6d3b3
child 12240 8eb15566142f
--- a/cubicweb/server/repository.py	Wed Apr 12 14:54:10 2017 +0200
+++ b/cubicweb/server/repository.py	Wed Apr 12 15:49:05 2017 +0200
@@ -350,10 +350,7 @@
             # needed (for instance looking for persistent configuration using an
             # internal session, which is not possible until connections sets have been
             # initialized)
-            source.init(True, sourceent)
-        else:
-            source.init(False, sourceent)
-        source.set_schema(self.schema)
+            source.init(sourceent)
         return source
 
     # internals ###############################################################
@@ -368,7 +365,7 @@
                 ' S name "system", S type SA, S config SC'
             ).one()
             self.system_source.eid = sourceent.eid
-            self.system_source.init(True, sourceent)
+            self.system_source.init(sourceent)
 
     def get_source(self, type, uri, source_config, eid=None):
         # set uri and type in source config so it's available through