From: Roland Häder Date: Tue, 8 Aug 2023 23:33:16 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a07ff265785ca4ca8f47469a263b789290ff9c1a;p=fba.git Continued: - renamed report.txt to report.log --- diff --git a/.gitignore b/.gitignore index 327f96a..7400941 100644 --- a/.gitignore +++ b/.gitignore @@ -4,5 +4,5 @@ __pycache__/ config.json *.cover *.pyc -report.txt +report.log *.log diff --git a/fba/helpers/tidyup.py b/fba/helpers/tidyup.py index 3f6fa35..d342a81 100644 --- a/fba/helpers/tidyup.py +++ b/fba/helpers/tidyup.py @@ -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 diff --git a/report.sh b/report.sh index a0647d8..960028d 100755 --- 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