formatting for linting

This commit is contained in:
David Kennedy 2023-10-24 15:07:12 -04:00
parent 182d1a61c0
commit 497e81f6fa
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B
3 changed files with 12 additions and 30 deletions

View file

@ -39,10 +39,10 @@ class GenericError(Exception):
"""
_error_mapping = {
GenericErrorCodes.CANNOT_CONTACT_REGISTRY: "Update failed. Cannot contact the registry.",
GenericErrorCodes.GENERIC_ERROR: (
"Value entered was wrong."
GenericErrorCodes.CANNOT_CONTACT_REGISTRY: (
"Update failed. Cannot contact the registry."
),
GenericErrorCodes.GENERIC_ERROR: ("Value entered was wrong."),
}
def __init__(self, *args, code=None, **kwargs):