[FIX] tools: emails_split -> email-split.

bzr revid: tde@openerp.com-20120821151413-9hxmsyp51q3ny32f
This commit is contained in:
Thibault Delavallée
2012-08-21 17:14:13 +02:00
parent f2481259bd
commit b772da168f
+1 -1
View File
@@ -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)