More flake8.

This commit is contained in:
Steve Pulec 2014-11-15 09:53:45 -05:00
commit c77207a8b8
8 changed files with 20 additions and 22 deletions

View file

@ -272,7 +272,7 @@ class IAMBackend(BaseBackend):
return user
def create_login_profile(self, user_name, password):
if not user_name in self.users:
if user_name not in self.users:
raise BotoServerError(404, 'Not Found')
# This does not currently deal with PasswordPolicyViolation.