From: Roland Häder Date: Fri, 3 Jan 2025 02:36:12 +0000 (+0100) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=16909a6a9cd6fc5f9368d9778d5cb5214d27801f;p=fba.git Continued: - fixed deprecation warning for pylint 3.0 ending support for short class names - wrong %d for a string fixed --- diff --git a/fba/models/instances.py b/fba/models/instances.py index 9c0c1ba..5672494 100644 --- a/fba/models/instances.py +++ b/fba/models/instances.py @@ -445,7 +445,7 @@ def set_last_response_time(domain: str, response_time: float) -> None: logger.debug("EXIT!") def set_last_requested_path(domain: str, path: float) -> None: - logger.debug("domain='%s',path=%d - CALLED!", domain, path) + logger.debug("domain='%s',path=%s - CALLED!", domain, path) domain_helper.raise_on(domain) if not isinstance(path, str): diff --git a/pylint.rc b/pylint.rc index e9b0d09..bc616fc 100644 --- a/pylint.rc +++ b/pylint.rc @@ -509,5 +509,5 @@ preferred-modules= # Exceptions that will emit a warning when being caught. Defaults to # "BaseException, Exception". -overgeneral-exceptions=BaseException, - Exception +overgeneral-exceptions=builtins.BaseException, + builtins.Exception