diff options
Diffstat (limited to 'morphlib/builder.py')
-rw-r--r-- | morphlib/builder.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/builder.py b/morphlib/builder.py index d8050637..6a5ad184 100644 --- a/morphlib/builder.py +++ b/morphlib/builder.py @@ -53,7 +53,7 @@ def extract_sources(app, repo_cache, repo, sha1, srcdir): #pragma: no cover else: tuples = [] for sub in submodules: - cached_repo = repo_cache.get_repo(sub.url) + cached_repo = repo_cache.get_updated_repo(sub.url, sub.commit) sub_dir = os.path.join(destdir, sub.path) tuples.append((cached_repo, sub.commit, sub_dir)) return tuples |