Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate reviewers email ids discarded #1208

Merged
merged 8 commits into from
Sep 24, 2021
Merged

Duplicate reviewers email ids discarded #1208

merged 8 commits into from
Sep 24, 2021

Conversation

roshan-sy
Copy link
Contributor

Please make sure the code is following contribution guidelines in CONTRIBUTING.md

  • : This PR has a corresponding issue open in the Repository.
  • : Approach is signed off on the issue.

Fixes: #1118

reviewers = list(set(x.lower() for x in reviewers))
using above code snippet to discard duplicate reviewer
As reviewers object is list of email Ids, it is safe to do apply .lower()

@roshan-sy roshan-sy marked this pull request as ready for review September 20, 2021 11:10
Copy link
Contributor

@gauravsaralMs gauravsaralMs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we add a unit test for this change ?

@gauravsaralMs gauravsaralMs self-requested a review September 24, 2021 04:29
@roshan-sy roshan-sy merged commit be8b5a8 into master Sep 24, 2021
@roshan-sy roshan-sy deleted the Users/Roshan/1118 branch September 24, 2021 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants