diff --git a/release.notes b/release.notes index 99db46f9323..84885982619 100644 --- a/release.notes +++ b/release.notes @@ -8,7 +8,7 @@ FIX: (#7787) added a 30s gfal2 timeout for downloading the SRR FIX: (#7741) RequestTaskAgent only considers requests in final states, and consider files in intermediate state as problematic (https://github.com/DIRACGrid/DIRAC/issues/7116) NEW: (#7741) RequestTaskAgent uses getBulkRequestStatus instead of getRequestStatus -RMS: (#7741) +RMS: (#7741) NEW: (#7741) implement getRequestStatus [v8.0.52] diff --git a/src/DIRAC/Core/Tornado/Server/HandlerManager.py b/src/DIRAC/Core/Tornado/Server/HandlerManager.py index 2602200012b..be9c1a901ad 100644 --- a/src/DIRAC/Core/Tornado/Server/HandlerManager.py +++ b/src/DIRAC/Core/Tornado/Server/HandlerManager.py @@ -4,7 +4,7 @@ """ from tornado.web import RequestHandler -from DIRAC import gConfig, gLogger, S_ERROR, S_OK +from DIRAC import S_ERROR, S_OK, gConfig, gLogger from DIRAC.ConfigurationSystem.Client import PathFinder from DIRAC.Core.Base.private.ModuleLoader import ModuleLoader @@ -123,7 +123,7 @@ def __load(self, instances, componentType, pathFinder): # see DIRAC.Core.Tornado.Server.private.BaseRequestHandler for more details # this method should return a list of routes associated with the handler, it is a regular expressions # see https://www.tornadoweb.org/en/stable/routing.html#tornado.routing.URLSpec, ``pattern`` argument. - urls = handler._BaseRequestHandler__pre_initialize() + urls = handler._BaseRequestHandler__pre_initialize() # pylint: disable=no-member # First of all check if we can find route if not urls: diff --git a/src/DIRAC/Core/Tornado/Server/TornadoServer.py b/src/DIRAC/Core/Tornado/Server/TornadoServer.py index ccc0ea38f54..509974f92a2 100644 --- a/src/DIRAC/Core/Tornado/Server/TornadoServer.py +++ b/src/DIRAC/Core/Tornado/Server/TornadoServer.py @@ -12,7 +12,7 @@ import tornado.iostream -tornado.iostream.SSLIOStream.configure( +tornado.iostream.SSLIOStream.configure( # pylint: disable=no-member "tornado_m2crypto.m2iostream.M2IOStream" ) # pylint: disable=wrong-import-position diff --git a/src/DIRAC/Core/Tornado/Server/private/BaseRequestHandler.py b/src/DIRAC/Core/Tornado/Server/private/BaseRequestHandler.py index a089dfac171..786e65743b0 100644 --- a/src/DIRAC/Core/Tornado/Server/private/BaseRequestHandler.py +++ b/src/DIRAC/Core/Tornado/Server/private/BaseRequestHandler.py @@ -953,7 +953,7 @@ async def __execute(self, *args, **kwargs): # pylint: disable=arguments-differ # you need to define the finish_ method. # This method will be started after _executeMethod is completed. elif callable(finishFunc := getattr(self, f"finish_{self.__methodName}", None)): - finishFunc() + finishFunc() # pylint: disable=not-callable # In case nothing is returned elif self.__result is None: