mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-05 03:38:12 +08:00
Cast branch to string or otherwise it fails
This commit is contained in:
@@ -364,7 +364,7 @@ def _fetch_mmd(url, branch = None, allow_local_url = False):
|
||||
'does not match the branch "{1}"'.format(
|
||||
mmd.stream, scm.branch))
|
||||
else:
|
||||
mmd.stream = scm.branch
|
||||
mmd.stream = str(scm.branch)
|
||||
|
||||
# If the version is in the modulemd, throw an exception since the version
|
||||
# is generated by pdc-updater
|
||||
|
||||
Reference in New Issue
Block a user