From 23ee5eedb079535b23f1591963a60860dd06da04 Mon Sep 17 00:00:00 2001
From: Alexander Schlemmer <alexander@mail-schlemmer.de>
Date: Mon, 27 Jun 2022 12:03:09 +0200
Subject: [PATCH] MAINT: commented the scanner dry file which caused trouble
 for situations with recursive properties

---
 src/caoscrawler/crawl.py | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/caoscrawler/crawl.py b/src/caoscrawler/crawl.py
index 8508eaa7..40a8a026 100644
--- a/src/caoscrawler/crawl.py
+++ b/src/caoscrawler/crawl.py
@@ -1013,10 +1013,11 @@ def crawler_main(args_path,
     crawler = Crawler(debug=args_debug)
     crawler.crawl_directory(args_path, args_cfood, args_prefix)
     if args_dry_sync:
+        pass
         # Save data after scanning:
-        updates_pre = [convert_to_python_object(i).serialize(True) for i in crawler.updateList]
-        with open("dry_scanner.yml", "w") as f:
-            f.write(yaml.dump(updates_pre))
+        # updates_pre = [convert_to_python_object(i).serialize(True) for i in crawler.updateList]
+        # with open("dry_scanner.yml", "w") as f:
+        #     f.write(yaml.dump(updates_pre))
         
     if args_provenance is not None:
         crawler.save_debug_data(args_provenance)
-- 
GitLab