app/soc/logic/models/role.py
changeset 1625 cd7174032b56
parent 1517 a467d13e34ea
child 1955 06ed84dbb1ed
equal deleted inserted replaced
1624:1fc2089f4bc9 1625:cd7174032b56
    47     
    47     
    48     Args:
    48     Args:
    49       group_logic: logic for the group which should be retrieved
    49       group_logic: logic for the group which should be retrieved
    50       scope_path : the scope path of the entity
    50       scope_path : the scope path of the entity
    51     """
    51     """
    52     group_key_fields = scope_path.rsplit('/',1)
    52     group_key_fields = scope_path.rsplit('/', 1)
    53 
    53 
    54     if len(group_key_fields) == 1:
    54     if len(group_key_fields) == 1:
    55       # there is only a link_id
    55       # there is only a link_id
    56       fields = {'link_id' : group_key_fields[0]}
    56       fields = {'link_id' : group_key_fields[0]}
    57     else:
    57     else: