Skip to content

Commit ee41aa1

Browse files
Address AI feedback
Signed-off-by: Lukasz Gryglicki <[email protected]> Assisted by [OpenAI](https://platform.openai.com/) Assisted by [GitHub Copilot](https://github.com/features/copilot)
1 parent 778c017 commit ee41aa1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cla-backend/cla/models/github_models.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -867,7 +867,7 @@ def update_merge_group(self, installation_id, github_repository_id, merge_group_
867867
if allowlisted is not None and len(allowlisted) > 0:
868868
cla.log.debug(f"{fn} - adding {len(allowlisted)} allowlisted actors to signed list")
869869
signed.extend(allowlisted)
870-
signed = dedup_and_sort(signed)
870+
signed = dedup_and_sort(signed)
871871
missing = dedup_and_sort(missing)
872872

873873
# update Merge group status
@@ -1040,7 +1040,7 @@ def update_change_request(self, installation_id, github_repository_id, change_re
10401040
if allowlisted is not None and len(allowlisted) > 0:
10411041
cla.log.debug(f"{fn} - adding {len(allowlisted)} allowlisted actors to signed list")
10421042
signed.extend(allowlisted)
1043-
signed = dedup_and_sort(signed)
1043+
signed = dedup_and_sort(signed)
10441044
missing = dedup_and_sort(missing)
10451045
# At this point, the signed and missing lists are now filled and updated with the commit user info
10461046

@@ -2662,7 +2662,7 @@ def create_commit_status_for_merge_group(commit_obj, merge_commit_sha, state, si
26622662

26632663
def create_commit_status(commit_obj, state, sign_url, body, context):
26642664
"""
2665-
Helper function to create a commit status message given the PR and commit hash.
2665+
Helper function to create a commit status message given the commit object.
26662666
26672667
:param commit_obj: The commit to post a status on.
26682668
:type commit_obj: Commit

0 commit comments

Comments
 (0)