Avoid generating usernames containing whitespaces
PEP8 cleanup