not a dict

This commit is contained in:
Louis Abel 2024-04-10 08:52:52 -07:00
parent 3145101bc7
commit 4d6e7642ef
Signed by: label
GPG Key ID: 2A6975660E424560
1 changed files with 4 additions and 2 deletions

View File

@ -788,11 +788,13 @@ class GitImport(Import):
if not metafile_to_use:
#print('Source: There was no metadata file found. Skipping import attempt.')
print('Source: There was no metadata file found. Import may not work correctly.')
metafile_to_use = ''
#metafile_to_use = ''
#self.perform_cleanup([source_git_repo_path, dest_git_repo_path])
#return False
sources_dict = self.parse_metadata_file(metafile_to_use)
sources_dict = {}
if metafile_to_use:
sources_dict = self.parse_metadata_file(metafile_to_use)
# We need to check if there is a SPECS directory and make a SOURCES
# directory if it doesn't exist