Exemplo n.º 1
0
Arquivo: select.py Projeto: rogual/po
def deselect_package(package):
    with catalogue.modify(segment_path) as segment:
        remove_all(segment[package.project.id], package)
    environment.reload()
Exemplo n.º 2
0
Arquivo: select.py Projeto: rogual/po
def select_package(package):
    with catalogue.modify(segment_path) as segment:
        segment[package.project.id].append(package)
    environment.reload()