Skip to content

Commit

Permalink
Address lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
gherceg committed Dec 21, 2023
1 parent c1491d2 commit 04e1332
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commcare_cloud/commands/deploy/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ def record_deploy_start(environment, context):
def send_deploy_start_email(environment, context):
is_nonstandard_deploy_time = not within_maintenance_window(environment)
is_non_default_branch = (
context.revision != environment.fab_settings_config.default_branch and
context.revision is not None
context.revision != environment.fab_settings_config.default_branch
and context.revision is not None
)
env_name = environment.meta_config.deploy_env
subject = f"{context.user} has initiated a {context.service_name} deploy to {env_name}"
Expand Down

0 comments on commit 04e1332

Please sign in to comment.