Skip to content

Commit 0ec012d

Browse files
Make sure to fetch all pages (#15)
1 parent e1821c8 commit 0ec012d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitlab_submodule/submodule_commit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def _get_submodule_commit_id(
6060
update_submodule_commit = project.commits.get(last_commit_id)
6161

6262
submodule_commit_regex = r'Subproject commit ([a-zA-Z0-9]+)\n'
63-
for diff_file in update_submodule_commit.diff():
63+
for diff_file in update_submodule_commit.diff(as_list=False):
6464
if diff_file['new_path'] == submodule_path:
6565
# either the commit id was added for the first time,
6666
# or it was updated -> we can find one or two matches

0 commit comments

Comments
 (0)