cwctl.py
changeset 2144 51c84d585456
parent 2104 b4ffcea3275b
child 2156 fadb86b040a9
--- a/cwctl.py	Tue Jun 23 13:31:35 2009 +0200
+++ b/cwctl.py	Tue Jun 23 13:36:38 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: