Ejemplo n.º 1
0
def get_container_by_id(id):
    c = Container.get(id)
    if not c:
        raise EruAbortException(consts.HTTP_NOT_FOUND, 'Container %s not found' % id)
    return c
Ejemplo n.º 2
0
def get_container_by_id(id):
    return Container.get(id)