avoid loading twice site_cubicweb files on instance creation stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 17 Feb 2010 13:11:30 +0100
branchstable
changeset 4609 169ca2904322
parent 4608 181c877b3048
child 4610 7bf205b9a845
avoid loading twice site_cubicweb files on instance creation
cwctl.py
--- a/cwctl.py	Wed Feb 17 12:25:17 2010 +0100
+++ b/cwctl.py	Wed Feb 17 13:11:30 2010 +0100
@@ -297,8 +297,6 @@
         # create the registry directory for this instance
         print '\n'+underline_title('Creating the instance %s' % appid)
         create_dir(config.apphome)
-        # load site_cubicweb from the cubes dir (if any)
-        config.load_site_cubicweb()
         # cubicweb-ctl configuration
         print '\n'+underline_title('Configuring the instance (%s.conf)' % configname)
         config.input_config('main', self.config.config_level)