def bone_siblings(obj, bone):
    """ Returns a list of the siblings of the given bone.
        This requires that the bones has a parent.

    """
    parent = obj.data.bones[bone].parent
    if parent is None:
        return []
    bones = []
    for b in parent.children:
        if b.name != bone:
            bones += [b.name]
    return bones
