Removing this exception handling, that error should be caught above. (#749)

This commit is contained in:
kevgliss 2017-04-07 16:01:40 -07:00 committed by GitHub
parent 221851abc1
commit 81aff42e03
1 changed files with 0 additions and 3 deletions

View File

@ -24,9 +24,6 @@ def retry_throttled(exception):
if exception.response['Error']['Code'] == 'NoSuchEntity': if exception.response['Error']['Code'] == 'NoSuchEntity':
return False return False
if isinstance(exception, botocore.errorfactory.NoSuchEntityException):
return False
metrics.send('iam_retry', 'counter', 1) metrics.send('iam_retry', 'counter', 1)
return True return True