cwctl.py
changeset 2144 51c84d585456
parent 2104 b4ffcea3275b
child 2156 fadb86b040a9
equal deleted inserted replaced
2141:0072247db207 2144:51c84d585456
   271         appid = pop_arg(args)
   271         appid = pop_arg(args)
   272         # get the configuration and helper
   272         # get the configuration and helper
   273         cwcfg.creating = True
   273         cwcfg.creating = True
   274         config = cwcfg.config_for(appid, configname)
   274         config = cwcfg.config_for(appid, configname)
   275         config.set_language = False
   275         config.set_language = False
   276         config.init_cubes(config.expand_cubes(cubes))
   276         cubes = config.expand_cubes(cubes)
       
   277         config.init_cubes(cubes)
   277         helper = self.config_helper(config)
   278         helper = self.config_helper(config)
   278         # check the cube exists
   279         # check the cube exists
   279         try:
   280         try:
   280             templdirs = [cwcfg.cube_dir(cube)
   281             templdirs = [cwcfg.cube_dir(cube)
   281                          for cube in cubes]
   282                          for cube in cubes]