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

View File

@ -788,10 +788,12 @@ class GitImport(Import):
if not metafile_to_use: if not metafile_to_use:
#print('Source: There was no metadata file found. Skipping import attempt.') #print('Source: There was no metadata file found. Skipping import attempt.')
print('Source: There was no metadata file found. Import may not work correctly.') 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]) #self.perform_cleanup([source_git_repo_path, dest_git_repo_path])
#return False #return False
sources_dict = {}
if metafile_to_use:
sources_dict = self.parse_metadata_file(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 # We need to check if there is a SPECS directory and make a SOURCES