cwconfig.py
changeset 9891 3386fd89c914
parent 9792 1349398d744e
child 9990 c84ad981fc4a
--- a/cwconfig.py	Tue Jun 17 12:03:30 2014 +0200
+++ b/cwconfig.py	Wed Jul 09 15:44:09 2014 +0200
@@ -827,13 +827,6 @@
     else:
         _INSTANCES_DIR = join(_INSTALL_PREFIX, 'etc', 'cubicweb.d')
 
-    if os.environ.get('APYCOT_ROOT'):
-        _cubes_init = join(CubicWebNoAppConfiguration.CUBES_DIR, '__init__.py')
-        if not exists(_cubes_init):
-            file(join(_cubes_init), 'w').close()
-        if not exists(_INSTANCES_DIR):
-            os.makedirs(_INSTANCES_DIR)
-
     # set to true during repair (shell, migration) to allow some things which
     # wouldn't be possible otherwise
     repairing = False