From 09011c5fa74fabe0c7d550d1227a5a6b6e5157a9 Mon Sep 17 00:00:00 2001 From: Theodor Tolstoy Date: Fri, 24 Jun 2022 00:09:10 +0200 Subject: [PATCH] remove last remnants --- src/folio_migration_tools/folder_structure.py | 3 +-- src/folio_migration_tools/migration_tasks/items_transformer.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/folio_migration_tools/folder_structure.py b/src/folio_migration_tools/folder_structure.py index 9a0316a4..5f14f8de 100644 --- a/src/folio_migration_tools/folder_structure.py +++ b/src/folio_migration_tools/folder_structure.py @@ -1,7 +1,7 @@ import logging import sys -from pathlib import Path import time +from pathlib import Path from folio_uuid.folio_namespaces import FOLIONamespaces @@ -117,7 +117,6 @@ def setup_migration_file_structure(self, source_file_type: str = ""): ) # Mapping files - self.temp_locations_map_path = self.mapping_files_folder / "temp_locations.tsv" self.material_type_map_path = self.mapping_files_folder / "material_types.tsv" self.loan_type_map_path = self.mapping_files_folder / "loan_types.tsv" self.temp_loan_type_map_path = self.mapping_files_folder / "temp_loan_types.tsv" diff --git a/src/folio_migration_tools/migration_tasks/items_transformer.py b/src/folio_migration_tools/migration_tasks/items_transformer.py index 012810c6..e6d03d9e 100644 --- a/src/folio_migration_tools/migration_tasks/items_transformer.py +++ b/src/folio_migration_tools/migration_tasks/items_transformer.py @@ -110,7 +110,7 @@ def __init__( else: logging.info( "%s not found. No temporary location mapping will be performed", - self.folder_structure.temp_locations_map_path, + self.task_config.temp_location_map_file_name, ) temporary_location_mapping = None self.mapper = ItemMapper(