def __log_binding_change(changes, type_, key, new, old=None):
    if changes not in type_:
        changes[type_] = ''
    if old is None:
        changes[type_] += key + ':' + new + '\n'
    else:
        changes[type_] += key + ':' + old + '->' + new + '\n'
dataset/ETHPy150Open saltstack/salt/salt/states/jboss7.py/__log_binding_change/swapped operands of `not in`