tmt/utils.py
def ascii(text):
    """ Transliterate special unicode characters into pure ascii """
    try:
        if not isinstance(text, unicode):
            text = unicode(text)
    except NameError:
        if not isinstance(text, str):
            text = str(text)
    return unicodedata.normalize('NFKD', text).encode('ascii','ignore')
 Transliterate special unicode characters into pure ascii 
Transliterate special unicode characters into pure ascii
Transliterate special unicode characters into pure ascii
def ascii(text):
    try:
        if not isinstance(text, unicode):
            text = unicode(text)
    except NameError:
        if not isinstance(text, str):
            text = str(text)
    return unicodedata.normalize('NFKD', text).encode('ascii','ignore')
def ascii ( text ) : try : if not isinstance ( text , unicode ) : text = unicode ( text ) except NameError : if not isinstance ( text , str ) : text = str ( text ) return unicodedata . normalize ( 'NFKD' , text ) . encode ( 'ascii' , 'ignore' )
Transliterate special unicode characters into pure ascii
Transliterate special unicode characters into pure ascii
""" Transliterate special unicode characters into pure ascii """
text