From aa18afc9e18013b7081fc965bc92ad1a2c51cc6f Mon Sep 17 00:00:00 2001 From: asaki222 Date: Mon, 18 Nov 2024 14:17:58 -0500 Subject: [PATCH] made changes for the linter --- src/registrar/templates/domain_users.html | 2 +- src/registrar/views/domain.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/registrar/templates/domain_users.html b/src/registrar/templates/domain_users.html index 0506e98f4..b8a622455 100644 --- a/src/registrar/templates/domain_users.html +++ b/src/registrar/templates/domain_users.html @@ -157,4 +157,4 @@ {% endif %} -{% endblock %} {# domain_content #} \ No newline at end of file +{% endblock %} {# domain_content #} diff --git a/src/registrar/views/domain.py b/src/registrar/views/domain.py index 0f2634250..95197abbe 100644 --- a/src/registrar/views/domain.py +++ b/src/registrar/views/domain.py @@ -914,7 +914,8 @@ class DomainUsersView(DomainBaseView): has_admin_flag = True break # Once we find one match, no need to check further - # Add the role along with the computed flag to the list if the domain invitation if the status is not canceled + # Add the role along with the computed flag to the list if the domain invitation + # if the status is not canceled if domain_invitation.status != "canceled": invitations.append({"domain_invitation": domain_invitation, "has_admin_flag": has_admin_flag})