Skip to content

Commit 8713e34

Browse files
committed
refactor: Remove use of asyncGen from RegistryManagerHandler
1 parent 99501be commit 8713e34

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/WebAppDIRAC/WebApp/handler/RegistryManagerHandler.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import json
22
from diraccfg import CFG
33

4-
from WebAppDIRAC.Lib.WebHandler import WebSocketHandler, asyncGen
4+
from WebAppDIRAC.Lib.WebHandler import WebSocketHandler
55
from DIRAC.ConfigurationSystem.Client.ConfigurationClient import ConfigurationClient
66
from DIRAC import gConfig, gLogger
77
from DIRAC.ConfigurationSystem.private.Modificator import Modificator
@@ -14,7 +14,6 @@ class RegistryManagerHandler(WebSocketHandler):
1414
def on_open(self):
1515
self.__configData = {}
1616

17-
@asyncGen
1817
def on_message(self, msg):
1918

2019
self.log.info(f"RECEIVED {msg}")

0 commit comments

Comments
 (0)