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