]> git.mxchange.org Git - fba.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Fri, 3 Jan 2025 02:36:12 +0000 (03:36 +0100)
committerRoland Häder <roland@mxchange.org>
Fri, 3 Jan 2025 02:36:12 +0000 (03:36 +0100)
- fixed deprecation warning for pylint 3.0 ending support for short class names
- wrong %d for a string fixed

fba/models/instances.py
pylint.rc

index 9c0c1bad80012020be080a5e77f3095a418fc5ca..5672494bddad6881284b6f66d388fe0f2ca1d893 100644 (file)
@@ -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):
index e9b0d0925d3524ffc80eb1f2f5abf47ee7f0b054..bc616fcc56a549473298c1ddc9c5d8760872a361 100644 (file)
--- 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