Searched refs:addrstring (Results 1 – 1 of 1) sorted by relevance
146 def quoteaddr(addrstring): argument151 displayname, addr = email.utils.parseaddr(addrstring)154 if addrstring.strip().startswith('<'):155 return addrstring156 return "<%s>" % addrstring159 def _addr_only(addrstring): argument160 displayname, addr = email.utils.parseaddr(addrstring)163 return addrstring