From 0365f0854f61a980e8d010de92525ee5ffa55a96 Mon Sep 17 00:00:00 2001 From: fspreck <f.spreckelsen@indiscale.com> Date: Tue, 12 Mar 2024 16:18:17 +0100 Subject: [PATCH] STY: FIX: Disable pylint in block --- src/caoscrawler/crawl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/caoscrawler/crawl.py b/src/caoscrawler/crawl.py index 2f215a6a..ffd01856 100644 --- a/src/caoscrawler/crawl.py +++ b/src/caoscrawler/crawl.py @@ -1599,8 +1599,8 @@ def crawler_main(crawled_directory_path: str, logger.debug(err) if "SHARED_DIR" in os.environ: + # pylint: disable=E0601 domain = get_config_setting("public_host_url") - # pylint: disable-next=E0601 logger.error("Unexpected Error: Please tell your administrator about this and provide the" f" following path.\n{domain}/Shared/" + debuglog_public) _update_status_record(crawler.run_id, 0, 0, status="FAILED") -- GitLab