[cwctl] Recommend 'pyramid' before 'wsgi' when twisted is not available
Not sure anyone ever really used the latter and the former is certainly more
reliable/tested.
--- a/cubicweb/cwctl.py Mon Feb 27 09:05:33 2017 +0100
+++ b/cubicweb/cwctl.py Mon Feb 27 09:06:23 2017 +0100
@@ -513,8 +513,8 @@
msg = (
"Twisted is required by the 'start' command\n"
"Either install it, or use one of the alternative commands:\n"
- "- '{ctl} wsgi {appid}'\n"
- "- '{ctl} pyramid {appid}'\n")
+ "- '{ctl} pyramid {appid}'\n"
+ "- '{ctl} wsgi {appid}'\n")
raise ExecutionError(msg.format(ctl='cubicweb-ctl', appid=appid))
config = cwcfg.config_for(appid, debugmode=self['debug'])
# override config file values with cmdline options