Skip to content
Snippets Groups Projects
Commit 23ee5eed authored by Alexander Schlemmer's avatar Alexander Schlemmer
Browse files

MAINT: commented the scanner dry file which caused trouble for situations with recursive properties

parent 7b8d53ca
No related branches found
No related tags found
No related merge requests found
...@@ -1013,10 +1013,11 @@ def crawler_main(args_path, ...@@ -1013,10 +1013,11 @@ def crawler_main(args_path,
crawler = Crawler(debug=args_debug) crawler = Crawler(debug=args_debug)
crawler.crawl_directory(args_path, args_cfood, args_prefix) crawler.crawl_directory(args_path, args_cfood, args_prefix)
if args_dry_sync: if args_dry_sync:
pass
# Save data after scanning: # Save data after scanning:
updates_pre = [convert_to_python_object(i).serialize(True) for i in crawler.updateList] # updates_pre = [convert_to_python_object(i).serialize(True) for i in crawler.updateList]
with open("dry_scanner.yml", "w") as f: # with open("dry_scanner.yml", "w") as f:
f.write(yaml.dump(updates_pre)) # f.write(yaml.dump(updates_pre))
if args_provenance is not None: if args_provenance is not None:
crawler.save_debug_data(args_provenance) crawler.save_debug_data(args_provenance)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment