Removed unused exception.

This commit is contained in:
acsbendi 2019-07-09 19:46:04 +02:00
parent 1df4e8da2f
commit 947e26ce1b
2 changed files with 1 additions and 10 deletions

View File

@ -10,7 +10,7 @@ from six import string_types
from moto.iam.models import ACCOUNT_ID, Policy
from moto.iam import iam_backend
from moto.core.exceptions import SignatureDoesNotMatchError, AccessDeniedError, InvalidClientTokenIdError, InvalidAccessKeyIdError, AuthFailureError
from moto.core.exceptions import SignatureDoesNotMatchError, AccessDeniedError, InvalidClientTokenIdError, AuthFailureError
from moto.s3.exceptions import BucketAccessDeniedError, S3AccessDeniedError, BucketInvalidTokenError, S3InvalidTokenError, S3InvalidAccessKeyIdError, BucketInvalidAccessKeyIdError
from moto.sts import sts_backend

View File

@ -97,15 +97,6 @@ class AccessDeniedError(RESTError):
))
class InvalidAccessKeyIdError(RESTError):
code = 400
def __init__(self):
super(InvalidAccessKeyIdError, self).__init__(
'InvalidAccessKeyId',
"The AWS Access Key Id you provided does not exist in our records.")
class AuthFailureError(RESTError):
code = 400