mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 19:21:06 +00:00
update: Re add support for manifests without a refname
This commit is contained in:
parent
d1425b0307
commit
9689fa0a45
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ def manifest_get_commits(manifest):
|
|||
|
||||
remote = child.attrib.get('remote')
|
||||
if remote:
|
||||
res[path] = [child.attrib["revision"], [os.path.join(remotes[remote], name), child.attrib['refname']]]
|
||||
res[path] = [child.attrib["revision"], [os.path.join(remotes[remote], name), child.attrib.get('refname', child.attrib["revision"])]]
|
||||
else:
|
||||
res[path] = [child.attrib["revision"], []]
|
||||
|
||||
|
|
Loading…
Reference in a new issue