change cubes into expanded cubes stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 12 Jun 2009 16:31:32 +0200
branchstable
changeset 2104 b4ffcea3275b
parent 2102 268659907769
child 2105 92ea410806fe
change cubes into expanded cubes
cwctl.py
--- a/cwctl.py	Thu Jun 11 19:10:30 2009 +0200
+++ b/cwctl.py	Fri Jun 12 16:31:32 2009 +0200
@@ -273,7 +273,8 @@
         cwcfg.creating = True
         config = cwcfg.config_for(appid, configname)
         config.set_language = False
-        config.init_cubes(config.expand_cubes(cubes))
+        cubes = config.expand_cubes(cubes)
+        config.init_cubes(cubes)
         helper = self.config_helper(config)
         # check the cube exists
         try: