Browse Source

(#2127569) Fixes TypeError: BaseEventLoop.create_server() got an unexpected keyword argument 'loop'

I found the solution here : https://github.com/mitre/caldera/pull/2625/files
Sérgio M. Basto 1 year ago
parent
commit
07be9a824d
1 changed files with 0 additions and 2 deletions
  1. 0 2
      pagure-ev/pagure_stream_server.py

+ 0 - 2
pagure-ev/pagure_stream_server.py

@@ -253,7 +253,6 @@ def main():
             handle_client,
             host=None,
             port=pagure.config.config["EVENTSOURCE_PORT"],
-            loop=loop,
         )
         SERVER = loop.run_until_complete(coro)
         log.info(
@@ -264,7 +263,6 @@ def main():
                 stats,
                 host=None,
                 port=pagure.config.config.get("EV_STATS_PORT"),
-                loop=loop,
             )
             stats_server = loop.run_until_complete(stats_coro)
             log.info(