Permalink
Browse files

Stripped ' character from usernames and emails

  • Loading branch information...
spookylukey committed Dec 23, 2010
1 parent 74b6f38 commit af2da02df3b02e3b58d8c9870063422a5f061f4d
Showing with 1 addition and 1 deletion.
  1. +1 −1 faker/__init__.py
View
@@ -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.