[FIX] tools: emails_split -> email-split.
bzr revid: tde@openerp.com-20120821151413-9hxmsyp51q3ny32f
This commit is contained in:
@@ -1113,7 +1113,7 @@ class unquote(str):
|
||||
def __repr__(self):
|
||||
return self
|
||||
|
||||
def emails_split(text):
|
||||
def email_split(text):
|
||||
"""Return a list of the email addresses found in ``text``"""
|
||||
if not text: return []
|
||||
return re.findall(r'([^ ,<@]+@[^> ,]+)', text)
|
||||
|
||||
Reference in New Issue
Block a user