format for linter

This commit is contained in:
David Kennedy 2023-11-21 10:39:30 -05:00
parent a737f26c50
commit c9c9d70782
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B
2 changed files with 3 additions and 3 deletions

View file

@ -598,7 +598,7 @@ class Domain(TimeStampedModel, DomainHelper):
# if unable to update domain raise error and stop
if responseCode != ErrorCode.COMMAND_COMPLETED_SUCCESSFULLY:
raise NameserverError(code=nsErrorCodes.UNABLE_TO_UPDATE_DOMAIN)
raise NameserverError(code=nsErrorCodes.BAD_DATA)
successTotalNameservers = len(oldNameservers) - deleteCount + addToDomainCount