def print_list(branches, merged):
    for each in sorted(branches, key=operator.itemgetter('dt')):
        print '-' * 79
        is_merged = ''
        if merged in each['name'] and each['name'] != 'master':
            is_merged = " (MERGED ALREADY!)"
        print each['name'], is_merged
        print "\t", each['date']
        print "\t", each['age'], "ago"
        print "\t", each['msg'].strip()
        print
dataset/ETHPy150Open peterbe/bgg/bgg/lib/branches.py/print_list/swapped operands of `in`