aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorPaul Sokolovsky <paul.sokolovsky@linaro.org>2013-08-20 14:29:03 +0300
committerPaul Sokolovsky <paul.sokolovsky@linaro.org>2013-08-20 14:29:03 +0300
commit642f961adcd1eeb13c4eb6f7d9ebf217b04c10c0 (patch)
tree30d3e80fa9838a37db75294109ed30213cf95117 /utils
parent6009d9ebc2cd88f7d7c662e38bf5c26eec1b5cbf (diff)
Resolve default remote when adding project to map, fixes later lookup errors.
Diffstat (limited to 'utils')
-rwxr-xr-xutils/manifest-descriptions/manifest-annotate2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/manifest-descriptions/manifest-annotate b/utils/manifest-descriptions/manifest-annotate
index b173596..49b473d 100755
--- a/utils/manifest-descriptions/manifest-annotate
+++ b/utils/manifest-descriptions/manifest-annotate
@@ -41,6 +41,8 @@ class Manifest:
def add_project(self, project_node):
remote = project_node.getAttribute("remote")
+ if not remote:
+ remote = self.get_default().getAttribute("remote")
name = project_node.getAttribute("name")
revision = project_node.getAttribute("revision")
path = project_node.getAttribute("path")