equal
deleted
inserted
replaced
512 except ImportError: |
512 except ImportError: |
513 msg = ( |
513 msg = ( |
514 "Twisted is required by the 'start' command\n" |
514 "Twisted is required by the 'start' command\n" |
515 "Either install it, or use one of the alternative commands:\n" |
515 "Either install it, or use one of the alternative commands:\n" |
516 "- '{ctl} wsgi {appid}'\n" |
516 "- '{ctl} wsgi {appid}'\n" |
517 "- '{ctl} pyramid {appid}' (requires the pyramid cube)\n") |
517 "- '{ctl} pyramid {appid}'\n") |
518 raise ExecutionError(msg.format(ctl='cubicweb-ctl', appid=appid)) |
518 raise ExecutionError(msg.format(ctl='cubicweb-ctl', appid=appid)) |
519 config = cwcfg.config_for(appid, debugmode=self['debug']) |
519 config = cwcfg.config_for(appid, debugmode=self['debug']) |
520 # override config file values with cmdline options |
520 # override config file values with cmdline options |
521 config.cmdline_options = self.config.param |
521 config.cmdline_options = self.config.param |
522 init_cmdline_log_threshold(config, self['loglevel']) |
522 init_cmdline_log_threshold(config, self['loglevel']) |