mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-15 05:54:11 +02:00
Fix lint errors
This commit is contained in:
parent
bc9bc70465
commit
a7b460f8c4
2 changed files with 6 additions and 3 deletions
|
@ -13,7 +13,11 @@ from registrar.models import DomainApplication
|
||||||
from registrar.utility import StrEnum
|
from registrar.utility import StrEnum
|
||||||
from registrar.views.utility import StepsHelper
|
from registrar.views.utility import StepsHelper
|
||||||
|
|
||||||
from .utility import DomainApplicationPermissionView, DomainApplicationPermissionWithdrawView, ApplicationWizardPermissionView
|
from .utility import (
|
||||||
|
DomainApplicationPermissionView,
|
||||||
|
DomainApplicationPermissionWithdrawView,
|
||||||
|
ApplicationWizardPermissionView,
|
||||||
|
)
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
|
@ -159,8 +159,7 @@ class DomainApplicationPermissionWithdraw(PermissionsLoginMixin):
|
||||||
"""Does the logged-in user have access to withdraw this domain application?"""
|
"""Does the logged-in user have access to withdraw this domain application?"""
|
||||||
|
|
||||||
def has_permission(self):
|
def has_permission(self):
|
||||||
"""Check if this user has access to withdraw this domain application.
|
"""Check if this user has access to withdraw this domain application."""
|
||||||
"""
|
|
||||||
if not self.request.user.is_authenticated:
|
if not self.request.user.is_authenticated:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue