Commit 677c8547 authored by Thomas Bernhart's avatar Thomas Bernhart
Browse files

Improve warning when FOXML files are ignored

parent 0c28fd17
......@@ -106,11 +106,9 @@ def foxml_export(objectstore_path, output_path, recordsets_csv_file):
foxml_destination_path = path.join(record_set_export_path, path.basename(foxml_path) + ".xml")
copy2(foxml_path, foxml_destination_path, follow_symlinks=False)
logger.info("Exported FOXML file '" + foxml_path + "' to '" + foxml_destination_path + "'")
# TODO: Add locator from sitemap if specified
else:
logger.warning("Ignored FOXML file '" + foxml_path +
"': Old recordset ID not listed in 'record_sets_ids.csv'")
"': Old recordset ID '" + old_record_set_id + "' not listed in 'record_sets_ids.csv'")
else:
logger.warning("Ignored FOXML file '" + foxml_path +
"': No recordset ID found in FOXML")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment