Revision 5dcf6618 snf-astakos-app/astakos/im/functions.py

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

Also available in: Unified diff