mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-19 16:04:38 +02:00
lint
This commit is contained in:
parent
81e76fe04a
commit
88b38baaa7
2 changed files with 3 additions and 2 deletions
|
@ -84,7 +84,9 @@ class UserPortfolioPermission(TimeStampedModel):
|
|||
"""Returns a readable list of self.roles"""
|
||||
readable_roles = []
|
||||
if self.roles:
|
||||
readable_roles = sorted([UserPortfolioRoleChoices.get_user_portfolio_role_label(role) for role in self.roles])
|
||||
readable_roles = sorted(
|
||||
[UserPortfolioRoleChoices.get_user_portfolio_role_label(role) for role in self.roles]
|
||||
)
|
||||
return readable_roles
|
||||
|
||||
def _get_portfolio_permissions(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue