Compare commits

...

2 Commits

Author SHA1 Message Date
Louis Abel 4d6e7642ef
not a dict 2024-04-10 08:52:52 -07:00
Louis Abel 3145101bc7
not a dict 2024-04-10 08:49:16 -07:00
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