You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
create_group_model contains a test for each member of each group, that checks whether the member is really another group. However, get_dict_key_from_value will return None if the member is a group, but that group is not in the dictionary. This can happen if you start your search at a point in the tree below where the group is defined. At this point, create_group_model tries to concatenate None to the string GROUP:, resulting in an exception.
This bit of code needs a trap for get_dict_key_from_value returning None:
key=get_dict_key_from_value(groupmap, mg[0][0][0])
ifkey==None:
ifverbose:
print("[WARNING]: this member is a group, but the group is not in the group dictionary:"+mg[0][0][0])
else:
members.append("GROUP:"+key)
The text was updated successfully, but these errors were encountered:
create_group_model
contains a test for each member of each group, that checks whether the member is really another group. However,get_dict_key_from_value
will returnNone
if the member is a group, but that group is not in the dictionary. This can happen if you start your search at a point in the tree below where the group is defined. At this point,create_group_model
tries to concatenateNone
to the stringGROUP:
, resulting in an exception.This bit of code needs a trap for
get_dict_key_from_value
returningNone
:The text was updated successfully, but these errors were encountered: