mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-02-13 10:05:15 +08:00
Not fail when there is no scmurl
This commit is contained in:
@@ -475,7 +475,7 @@ def format_mmd(mmd, scmurl):
|
||||
'version': module_stream}
|
||||
commit_hash, version = get_module_commit_hash_and_version(
|
||||
pdc, module_info)
|
||||
if commit_hash and version:
|
||||
if version and (commit_hash or not scmurl):
|
||||
mmd.xmd['mbs']['buildrequires'][module_name] = {
|
||||
'ref': commit_hash,
|
||||
'stream': mmd.buildrequires[module_name],
|
||||
|
||||
Reference in New Issue
Block a user