mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-29 08:50:01 +02:00
linting
This commit is contained in:
parent
e7a3001409
commit
a2e4dd494f
1 changed files with 1 additions and 3 deletions
|
@ -365,9 +365,7 @@ class Domain(TimeStampedModel, DomainHelper):
|
||||||
for addr in ip:
|
for addr in ip:
|
||||||
if not cls._valid_ip_addr(addr):
|
if not cls._valid_ip_addr(addr):
|
||||||
raise NameserverError(
|
raise NameserverError(
|
||||||
code=nsErrorCodes.INVALID_IP,
|
code=nsErrorCodes.INVALID_IP, nameserver=nameserver[:40], ip=ip
|
||||||
nameserver=nameserver[:40],
|
|
||||||
ip=ip
|
|
||||||
)
|
)
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue