[PATCH] [clean] remove pyramid warning about looping task

Laurent Peuch cortex at worlddomination.be
Fri Sep 20 07:00:50 CEST 2019


# HG changeset patch
# User Laurent Peuch <cortex at worlddomination.be>
# Date 1566439628 -7200
#      Thu Aug 22 04:07:08 2019 +0200
# Node ID 8bf721979fffa4867256124666f1931a081f9eca
# Parent  1a5eb9a9f5b42fe7dd5f5fc38f3007a884d0a49d
[clean] remove pyramid warning about looping task

This warning isn't useful anymore.

diff --git a/cubicweb/pyramid/pyramidctl.py b/cubicweb/pyramid/pyramidctl.py
--- a/cubicweb/pyramid/pyramidctl.py
+++ b/cubicweb/pyramid/pyramidctl.py
@@ -382,10 +382,6 @@ class PyramidStartHandler(InstanceComman
         url_scheme = ('https' if cwconfig['base-url'].startswith('https')
                       else 'http')
         repo = app.application.registry['cubicweb.repository']
-        warnings.warn(
-            'the "pyramid" command does not start repository "looping tasks" '
-            'anymore; use the standalone "scheduler" command if needed'
-        )
         try:
             waitress.serve(app, host=host, port=port, url_scheme=url_scheme,
                            clear_untrusted_proxy_headers=True)



More information about the cubicweb-devel mailing list