Cast branch to string or otherwise it fails

This commit is contained in:
Jakub Kadlčík
2017-03-13 15:55:23 +01:00
parent 7cf77d0fee
commit e88c881039

View File

@@ -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