remove deprecated warn

This commit is contained in:
Hay1tsme
2025-02-21 23:51:59 -05:00
parent d4394788b7
commit 0f52b89033
22 changed files with 79 additions and 79 deletions

View File

@@ -180,7 +180,7 @@ class CxbServlet(BaseServlet):
internal_ver = CxbConstants.VER_CROSSBEATS_REV_SUNRISE_S2
if not hasattr(self.versions[internal_ver], func_to_find):
self.logger.warn(f"{version_string} has no handler for filetype {filetype} / {func_to_find}")
self.logger.warning(f"{version_string} has no handler for filetype {filetype} / {func_to_find}")
return JSONResponse({"data":""})
self.logger.info(f"{version_string} request for filetype {filetype}")
@@ -209,7 +209,7 @@ class CxbServlet(BaseServlet):
func_to_find = f"handle_action_{subcmd}_request"
if not hasattr(self.versions[0], func_to_find):
self.logger.warn(f"No handler for action {subcmd} request")
self.logger.warning(f"No handler for action {subcmd} request")
return Response()
self.logger.info(f"Action {subcmd} Request")
@@ -238,7 +238,7 @@ class CxbServlet(BaseServlet):
func_to_find = f"handle_auth_{subcmd}_request"
if not hasattr(self.versions[0], func_to_find):
self.logger.warn(f"No handler for auth {subcmd} request")
self.logger.warning(f"No handler for auth {subcmd} request")
return Response()
self.logger.info(f"Action {subcmd} Request")