summaryrefslogtreecommitdiff
path: root/src/buildstream/_gitsourcebase.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildstream/_gitsourcebase.py')
-rw-r--r--src/buildstream/_gitsourcebase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/_gitsourcebase.py b/src/buildstream/_gitsourcebase.py
index 4837877f4..5ed844bbe 100644
--- a/src/buildstream/_gitsourcebase.py
+++ b/src/buildstream/_gitsourcebase.py
@@ -413,7 +413,7 @@ class _GitSourceBase(Source):
self.submodule_overrides = {}
self.submodule_checkout_overrides = {}
modules = node.get_mapping('submodules', {})
- for path, _ in self.node_items(modules):
+ for path in modules.keys():
submodule = modules.get_mapping(path)
url = submodule.get_str('url', None)