Merge #426 Bugfixes caused by frontend expecting even branch

This commit is contained in:
Jan Kaluža
2017-03-14 17:36:49 +00:00
2 changed files with 3 additions and 2 deletions

View File

@@ -1,3 +1,4 @@
{
"scmurl": "git://pkgs.stg.fedoraproject.org/modules/testmodule.git?#789dc7b"
"scmurl": "git://pkgs.stg.fedoraproject.org/modules/testmodule.git?#789dc7b",
"branch": "master"
}

View File

@@ -368,7 +368,7 @@ def _fetch_mmd(url, branch=None, allow_local_url=False, whitelist_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