mirror of
https://github.com/peridotbuild/pv2.git
synced 2024-11-21 12:41:26 +00:00
make blank sources file
This commit is contained in:
parent
95c701aa38
commit
93f5fbe65d
@ -758,7 +758,10 @@ class GitImport(Import):
|
||||
raise err.ConfigurationError(f'sources files are not supported with {self.upstream_lookaside}')
|
||||
metafile_to_use = sources_file
|
||||
else:
|
||||
raise err.GenericError('sources or metadata file NOT found')
|
||||
#raise err.GenericError('sources or metadata file NOT found')
|
||||
print('WARNING: There was no sources or metadata found. Making blank file.')
|
||||
with open(metadata_file, 'w+') as metadata_handle:
|
||||
pass
|
||||
|
||||
sources_dict = self.parse_metadata_file(metafile_to_use)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user