From 3e96563f3ed591e3ecd3492813370871cdcc617e Mon Sep 17 00:00:00 2001
From: fspreck <f.spreckelsen@indiscale.com>
Date: Tue, 12 Mar 2024 16:09:51 +0100
Subject: [PATCH] STY: Disable linter in specific logging line

---
 src/caoscrawler/crawl.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/caoscrawler/crawl.py b/src/caoscrawler/crawl.py
index 26073cff..cb05b2b7 100644
--- a/src/caoscrawler/crawl.py
+++ b/src/caoscrawler/crawl.py
@@ -1600,6 +1600,7 @@ def crawler_main(crawled_directory_path: str,
 
         if "SHARED_DIR" in os.environ:
             domain = get_config_setting("public_host_url")
+            # pylint: disable-next=used-before-assignment
             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