

def get_quality_ratio(self, mimetype):
    if (mimetype == 'text/x-textile'):
        return 8
    return 0

dataset/ETHPy150Open edgewall/trac/trac/mimeview/txtl.py TextileRenderer.get_quality_ratio/original