From 38405b883bd263139c33adf97c1e00d089209b9e Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Sun, 10 Mar 2024 21:45:08 -0700 Subject: [PATCH] importer: cleanup should be happening if there's no meta --- pv2/importer/operation.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pv2/importer/operation.py b/pv2/importer/operation.py index 29b9144..57aafc6 100644 --- a/pv2/importer/operation.py +++ b/pv2/importer/operation.py @@ -787,6 +787,7 @@ class GitImport(Import): if not metafile_to_use: print('Source: There was no metadata file found. Skipping import attempt.') + self.perform_cleanup([source_git_repo_path, dest_git_repo_path]) return False sources_dict = self.parse_metadata_file(metafile_to_use)