]> git.mxchange.org Git - fba.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Tue, 8 Aug 2023 23:33:16 +0000 (01:33 +0200)
committerRoland Häder <roland@mxchange.org>
Tue, 8 Aug 2023 23:33:16 +0000 (01:33 +0200)
- renamed report.txt to report.log

.gitignore
fba/helpers/tidyup.py
report.sh

index 327f96a33dfd6fa5faa6bc272ab238bfff25c7f6..7400941599e21b1d5f8c071a5e9367be6cf7c0ad 100644 (file)
@@ -4,5 +4,5 @@ __pycache__/
 config.json
 *.cover
 *.pyc
-report.txt
+report.log
 *.log
index 3f6fa358d6b2767d5f240db88c904ecd6f3157d3..d342a81ceef1f2abe2c9e548bcb885d9719e6ec0 100644 (file)
@@ -67,5 +67,8 @@ def domain(string: str) -> str:
     elif string.find("/tag/"):
         string = string.split("/tag/")[0]
 
+    if string.endswith("silence"):
+       string = string.split("silence")[0]
+
     logger.debug("string='%s' - EXIT!", string)
     return string
index a0647d843e467ad45055084f3f2fcd31b94eb704..960028d024adcb89ddc19e03abfad7cd22f2918f 100755 (executable)
--- a/report.sh
+++ b/report.sh
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-pylint --verbose --rcfile=pylint.rc fba *.py > report.txt
+pylint --verbose --rcfile=pylint.rc fba *.py > report.log