Skip to content

Commit 021250f

Browse files
Update pydocteur/utils/state_actions.py
Co-authored-by: Julien Palard <[email protected]>
1 parent 998823f commit 021250f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydocteur/utils/state_actions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def version():
3939
def replace_body_variables(pr: PullRequest, body: str):
4040
logging.debug("Replacing variables")
4141
author = pr.user.login
42-
reviewers_login = list(set([review.user.login for review in pr.get_reviews()]))
42+
reviewers_login = {review.user.login for review in pr.get_reviews()}
4343
new_body = body.replace("@$AUTHOR", "@" + author)
4444
if not reviewers_login:
4545
reviewers_login = ["JulienPalard", "Seluj78"]

0 commit comments

Comments
 (0)