PEP8 fixes.

This commit is contained in:
yackob03 2013-09-27 20:03:07 -04:00
parent 32581c0621
commit a0adffdc8e
4 changed files with 27 additions and 13 deletions

View file

@ -14,6 +14,7 @@ def validate_username(username):
len(username) > 1 and
len(username) < 256)
def validate_password(password):
# No whitespace and minimum length of 8
if re.search(r'\s', password):