'Splits a string of comma-separated emails, appending default domain.'

def SplitEmailsAndAppendEmailDomain(self, address_list):

    result = []
    if isinstance(address_list, rdf_standard.DomainEmailAddress):
        address_list = [str(address_list)]
    elif isinstance(address_list, basestring):
        address_list = [address for address in address_list.split(',') if address]
    for address in address_list:
        result.append(self.AddEmailDomain(address))
    return result
