diff options
| author | rubenwardy <rw@rubenwardy.com> | 2020-03-27 15:23:18 +0000 |
|---|---|---|
| committer | rubenwardy <rw@rubenwardy.com> | 2020-03-27 15:23:18 +0000 |
| commit | 4a25435f7aec30228c2060dab497ca7e327f42b7 (patch) | |
| tree | 0f13d6905556b23b976728e98a40e490ca4d8375 | |
| parent | b0f32affcb9b1c053ccfd6e484a1e11faaf5497d (diff) | |
| download | cheatdb-1.23.10.tar.xz | |
Fix release validation for repos with submodulesv1.23.10
| -rw-r--r-- | app/tasks/importtasks.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/tasks/importtasks.py b/app/tasks/importtasks.py index 0ccdb1c..b662702 100644 --- a/app/tasks/importtasks.py +++ b/app/tasks/importtasks.py @@ -162,6 +162,9 @@ def cloneRepo(urlstr, ref=None, recursive=False): origin.fetch() origin.pull(ref) + for submodule in repo.submodules: + submodule.update(init=True) + return gitDir, repo except GitCommandError as e: |
