'Return the trunk object or raise if not found.'

def _get_trunk(self, context, trunk_id):

    obj = trunk_objects.Trunk.get_object(context, id=trunk_id)
    if (obj is None):
        raise trunk_exc.TrunkNotFound(trunk_id=trunk_id)
    return obj
