@classmethod
    def normalize_email(cls, email):
        """
        Normalize the address by lowercasing the domain part of the email
        address.
        """
        email = email or ''
        try:
            email_name, domain_part = email.strip().rsplit('@', 1)
        except __HOLE__:
            pass
        else:
            email = '@'.join([email_name, domain_part.lower()])
        return email
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/contrib/auth/models.py/BaseUserManager.normalize_email