From e88c8810394be51fd7c3d09ec8a021072b195aa2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Kadl=C4=8D=C3=ADk?= Date: Mon, 13 Mar 2017 15:55:23 +0100 Subject: [PATCH] Cast branch to string or otherwise it fails --- module_build_service/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module_build_service/utils.py b/module_build_service/utils.py index 37232309..02f28115 100644 --- a/module_build_service/utils.py +++ b/module_build_service/utils.py @@ -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