Beispiel #1
0
def paste_items_as_siblings(filename, baseid, description='Paste as siblings'):
    group = core_api.get_next_history_group(filename)
    return copypaste.paste_items(filename,
                                 baseid,
                                 'siblings',
                                 group=group,
                                 description=description)
Beispiel #2
0
def paste_items_as_children(filename, baseid, description='Paste as children'):
    group = core_api.get_next_history_group(filename)
    return copypaste.paste_items(filename,
                                 baseid,
                                 'children',
                                 group=group,
                                 description=description)
Beispiel #3
0
def paste_items_as_siblings(filename, baseid, description='Paste as siblings'):
    group = core_api.get_next_history_group(filename)
    return copypaste.paste_items(filename, baseid, 'siblings', group=group,
                                description=description)
Beispiel #4
0
def paste_items_as_children(filename, baseid, description='Paste as children'):
    group = core_api.get_next_history_group(filename)
    return copypaste.paste_items(filename, baseid, 'children', group=group,
                                description=description)