[clean] remove pyramid warning about looping task
authorLaurent Peuch <cortex@worlddomination.be>
Thu, 22 Aug 2019 04:07:08 +0200
changeset 12729 c8ca784fdd77
parent 12724 a6b12f31930c
child 12730 6c48a49cd3c2
[clean] remove pyramid warning about looping task This warning isn't useful anymore.
cubicweb/pyramid/pyramidctl.py
--- a/cubicweb/pyramid/pyramidctl.py	Tue Aug 27 14:26:21 2019 +0200
+++ b/cubicweb/pyramid/pyramidctl.py	Thu Aug 22 04:07:08 2019 +0200
@@ -33,7 +33,6 @@
 import time
 import threading
 import subprocess
-import warnings
 
 from cubicweb import ExecutionError
 from cubicweb.cwconfig import CubicWebConfiguration as cwcfg
@@ -382,10 +381,6 @@
         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)