Exemple #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
Exemple #2
0
def get_container_by_id(id):
    return Container.get(id)