Skip to content
Browse files

Stripped ' character from usernames and emails

  • Loading branch information...
1 parent 74b6f38 commit af2da02df3b02e3b58d8c9870063422a5f061f4d @spookylukey spookylukey committed Dec 23, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 faker/__init__.py
View
2 faker/__init__.py
@@ -33,7 +33,7 @@ def last_name(self):
def username(self):
first, last = self._name.split()
- self._username = "".join([first[:1], last]).lower()
+ self._username = "".join([first[:1], last]).lower().replace("'", "")
return self._username
def email(self):

0 comments on commit af2da02

Please sign in to comment.
Something went wrong with that request. Please try again.