def pretty_record(record):
    s = (record[1], record[0]) % '%s@%s'
    if record[3]:
        s += ': ' + record[3]
    return s
dataset/ETHPy150Open gavinwahl/sdb/sdb/passwords.py/pretty_record/swapped operands of `%`