def _get_normalized_address(self, addr):
        if '<' in addr:
            idx = addr.rindex('<')
            addr = addr[idx:]
            m = re.search(r'<([^>]*)>', addr)
            if m is None:
                # malformed address
                raise AddressError("Couldn't extract normalized address "
                                   "from %s" % self_get_sha256(addr))
            addr = m.group(1)
        return addr
Get normalized address.
dataset/ETHPy150Open TheTorProject/gettor/gettor/smtp.py/SMTP._get_normalized_address