[REVIEW] tools: removed duplicate email_split in tools.

bzr revid: tde@openerp.com-20120828080939-5bt3klbep49gjw47
This commit is contained in:
Thibault Delavallée 2012-08-28 10:09:39 +02:00
parent 74ba3b17e6
commit ec85db8e83
1 changed files with 0 additions and 6 deletions

View File

@ -1118,12 +1118,6 @@ class unquote(str):
def __repr__(self):
return self
def email_split(text):
"""Return a list of the email addresses found in ``text``"""
if not text: return []
return re.findall(r'([^ ,<@]+@[^> ,]+)', text)
class UnquoteEvalContext(defaultdict):
"""Defaultdict-based evaluation context that returns
an ``unquote`` string for any missing name used during