Revision 7ce770be

b/snf-astakos-app/astakos/im/functions.py
474 474
    try:
475 475
        objs = ProjectMembership.objects
476 476
        return objs.get_for_update(project__id=project_id,
477
                                   id=memb_id)
477
                                   person__id=memb_id)
478 478
    except ProjectMembership.DoesNotExist:
479 479
        m = _(astakos_messages.NOT_MEMBERSHIP_REQUEST)
480 480
        raise IOError(m)

Also available in: Unified diff