def html(rows, headers=()):
    output = []
    output.append('<table class="results">')
    output.append('<tr class="headers">')
    headers = map(lambda x: '<td class="header">%s</td>' % (x.upper()), list(headers))
    map(output.append, headers)
    output.append('</tr>')
    if rows or len(rows) > 0:
        for row in rows:
            output.append('<tr class="row">')
            row = map(lambda x: '<td class="value">%s</td>' % (x), row)
            map(output.append, row)
            output.append('</tr>')
    output.append('</table>')
    return output
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/dbexts.py/html/operator `and` -> `or`