[cwctl] Recommend 'pyramid' before 'wsgi' when twisted is not available
authorDenis Laxalde <denis.laxalde@logilab.fr>
Mon, 27 Feb 2017 09:06:23 +0100
changeset 11992 fa1837a85708
parent 11991 d6e2b6d56432
child 11993 07af2c2c264b
[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.
cubicweb/cwctl.py
--- 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