def unidecode_keep_umlauts(text):
    _warn_if_not_unicode(text)
    try:
        bytestring = text.encode('ASCII')
    except UnicodeEncodeError:
        return _unidecode_keep_umlauts(text)
    if (version_info[0] >= 3):
        return text
    else:
        return bytestring
def unidecode_keep_umlauts(text):
    _warn_if_not_unicode(text)
    try:
        bytestring = text.encode('ASCII')
    except UnicodeEncodeError:
        return _unidecode_keep_umlauts(text)
    if (version_info[0] >= 3):
        return text
    else:
        return bytestring