server/__init__.py
branchstable
changeset 3530 7dfe9d2c0fe7
parent 3005 a50d03e7014f
child 3647 2941f4a0aab9
child 3699 20ba545e00e1
--- a/server/__init__.py	Wed Sep 30 16:06:58 2009 +0200
+++ b/server/__init__.py	Wed Sep 30 16:23:12 2009 +0200
@@ -147,7 +147,7 @@
     for fpath in glob(join(CW_SOFTWARE_ROOT, 'schemas', '*.sql.%s' % driver)):
         print '-> installing', fpath
         sqlexec(open(fpath).read(), execute, False, delimiter=';;')
-    for directory in config.cubes_path():
+    for directory in reversed(config.cubes_path()):
         for fpath in glob(join(directory, 'schema', '*.sql.%s' % driver)):
             print '-> installing', fpath
             sqlexec(open(fpath).read(), execute, False, delimiter=';;')