def get_call_name(node, aliases):
    if type(node.func) == _ast.Name:
        if aliases in deepgetattr(node, 'func.id'):
            return aliases[deepgetattr(node, 'func.id')]
        return(deepgetattr(node, 'func.id'))
    elif type(node.func) == _ast.Attribute:
        return _get_attr_qual_name(node.func, aliases)
    else:
        return ""
dataset/ETHPy150Open openstack/bandit/bandit/core/utils.py/get_call_name/swapped operands of `in`