Skip to content

Commit d748a34

Browse files
committed
remove comments
1 parent 020ab8c commit d748a34

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

scripts/needs_testrun.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,11 +129,8 @@ def get_changed_files(pr_number: int, sha: t.Optional[str] = None) -> t.Set[str]
129129
for page in count(1):
130130
result = {_["filename"] for _ in github_api(f"/pulls/{pr_number}/files", {"page": page})}
131131
if not result:
132-
# End of pagination, return collected files
133132
return files
134133
files |= result
135-
# If we got here, we successfully collected files from all pages
136-
return files
137134
except Exception:
138135
LOGGER.warning("Failed to get changed files from GitHub API", exc_info=True)
139136

0 commit comments

Comments
 (0)