update: Fix the manifest commit dictionnary format
authorThibault Saunier <tsaunier@igalia.com>
Mon, 5 Nov 2018 12:42:29 +0000 (09:42 -0300)
committerThibault Saunier <tsaunier@igalia.com>
Mon, 5 Nov 2018 12:42:29 +0000 (09:42 -0300)
The structure was changed in last commit but a code path was not properly updated

git-update

index a9259c5..87e6f7c 100755 (executable)
@@ -28,7 +28,7 @@ def manifest_get_commits(manifest):
             if remote:
                 res[name] = ['FETCH_HEAD', [os.path.join(remotes[remote], name), child.attrib['revision']]]
             else:
-                res[name] = child.attrib["revision"]
+                res[name] = [child.attrib["revision"], []]
 
     return res