Skip to content
This repository was archived by the owner on Feb 5, 2020. It is now read-only.

Conversation

@redmerloen
Copy link
Contributor

No description provided.

@redmerloen redmerloen self-assigned this Oct 29, 2018
@redmerloen redmerloen force-pushed the feature/individual-feedback-algorithm branch from b3d2756 to 2248551 Compare October 29, 2018 12:39
@redmerloen redmerloen force-pushed the feature/individual-feedback-algorithm branch from 2248551 to fee3618 Compare October 29, 2018 12:53
feedback = feedbacks[0]

if feedback.recipient.id not in self.already_received_individual_feedback_by_user:
self.already_received_individual_feedback_by_user[feedback.recipient.id] = []
Copy link
Contributor

Choose a reason for hiding this comment

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

I would use set() for this.

return users_without_role

def do_all_users_have_a_slack_id(self):
if settings.SILENT_RUN:
Copy link
Contributor

Choose a reason for hiding this comment

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

This change is not needed here. If you run into an error, please put it on the more appropiate place. This function simply returns all users without a slack id, but it does not connect to Slack in any way. So DRY_RUN should only be used on places where actual Slack communication is used.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants