mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-29 08:50:01 +02:00
fixed formatting for linter
This commit is contained in:
parent
74c7e6528f
commit
a15dec1968
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ class RegistryError(Exception):
|
|||
# connection errors have error code of None and [Errno 99] in the err message
|
||||
def is_connection_error(self):
|
||||
return self.code is None
|
||||
|
||||
|
||||
def is_session_error(self):
|
||||
return self.code is not None and (self.code >= 2501 and self.code <= 2502)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue