flawless/server/service.py
def _get_email(self, email):
        '''Given an email address, check the email_remapping table to see if the email
        should be sent to a different address. This function also handles overriding
        the email domain if ignore_vcs_email_domain is set or the domain was missing'''
        if not email or "@" not in email:
            return None

        if email in self.email_remapping.remap:
            return self.email_remapping.remap[email]
        prefix, domain = email.split("@", 2)
        if prefix in self.email_remapping.remap:
            return self.email_remapping.remap[prefix]
        if "." not in domain or config.ignore_vcs_email_domain:
            return "%s@%s" % (prefix, config.email_domain_name)
        return email
def _get_email(self, email):
        '''Given an email address, check the email_remapping table to see if the email
        should be sent to a different address. This function also handles overriding
        the email domain if ignore_vcs_email_domain is set or the domain was missing'''
        if not email or "@" not in email:
            return None

        if email in self.email_remapping.remap:
            return self.email_remapping.remap[email]
        prefix, domain = email.split("@", 2)
        if prefix in self.email_remapping.remap:
            return self.email_remapping.remap[prefix]
        if "." not in domain or config.ignore_vcs_email_domain:
            return "%s@%s" % (prefix, config.email_domain_name)
        return email
def _get_email ( self , email ) : if not email or "@" not in email : return None if email in self . email_remapping . remap : return self . email_remapping . remap [ email ] prefix , domain = email . split ( "@" , 2 ) if prefix in self . email_remapping . remap : return self . email_remapping . remap [ prefix ] if "." not in domain or config . ignore_vcs_email_domain : return "%s@%s" % ( prefix , config . email_domain_name ) return email
Given an email address, check the email_remapping table to see if the email
        should be sent to a different address. This function also handles overriding
        the email domain if ignore_vcs_email_domain is set or the domain was missing
Given an email address check the email_remapping table to see if the email should be sent to a different address . This function also handles overriding the email domain if ignore_vcs_email_domain is set or the domain was missing