cwctl.py
branchstable
changeset 2104 b4ffcea3275b
parent 2032 8db8c21779bc
child 2156 fadb86b040a9
--- 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: