Unindenting the delete to user (#3147)

This commit is contained in:
Kenny Woodson 2016-05-20 10:26:19 -04:00 committed by Matt Clay
parent 962a446238
commit cd09aab9b4

View file

@ -196,7 +196,6 @@ def delete_user(module, iam, name):
except boto.exception.BotoServerError, err:
error_msg = boto_exception(err)
if ('Cannot find Login Profile') in error_msg:
del_meta = iam.delete_user(name).delete_user_response
else:
iam.delete_login_profile(name)