Skip to content

Commit

Permalink
fix: indentation error in for loop (#2104)
Browse files Browse the repository at this point in the history
* fix: indentation error in for loop

* chore: bump version to 4.18.3
  • Loading branch information
brobro10000 authored May 14, 2024
1 parent db78497 commit 6db1ec4
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ Unreleased
----------
* nothing unreleased

[4.18.3]
--------
* fix: indentation error in for loop

[4.18.2]
--------
* fix: update enterprise model lookup in removal email task
Expand Down
2 changes: 1 addition & 1 deletion enterprise/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
Your project description goes here.
"""

__version__ = "4.18.2"
__version__ = "4.18.3"
15 changes: 11 additions & 4 deletions enterprise/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def _recipients_for_identified_users(
'_recipients_for_identified_users_3: recipients_by_email: {%s} ',
recipients_by_email
)
recipients.extend(recipients_by_email.values())
recipients.extend(recipients_by_email.values())
LOGGER.info(
'_recipients_for_identified_users_4: recipients: {%s} ',
recipients
Expand Down Expand Up @@ -333,9 +333,13 @@ def send_group_membership_invitation_notification(
pecu_emails,
ENTERPRISE_BRAZE_ALIAS_LABEL,
)
LOGGER.info(
'send_group_membership_invitation_notification_2: user_id_by_email: {%s} ',
user_id_by_email,
)
recipients.extend(_recipients_for_identified_users(user_id_by_email))
LOGGER.info(
'send_group_membership_invitation_notification_2: recipients: {%s} ',
'send_group_membership_invitation_notification_3: recipients: {%s} ',
recipients
)
try:
Expand Down Expand Up @@ -399,10 +403,13 @@ def send_group_membership_removal_notification(enterprise_customer_uuid, members
pecu_emails,
ENTERPRISE_BRAZE_ALIAS_LABEL,
)

LOGGER.info(
'send_group_membership_invitation_notification_2: user_id_by_email: {%s} ',
user_id_by_email,
)
recipients.extend(_recipients_for_identified_users(user_id_by_email))
LOGGER.info(
'send_group_membership_removal_notification_2: recipients: {%s} ',
'send_group_membership_removal_notification_3: recipients: {%s} ',
recipients
)
try:
Expand Down

0 comments on commit 6db1ec4

Please sign in to comment.