Use a Set to track DNs searched for
This commit is contained in:
Родитель
909da53b87
Коммит
09e05a67d0
|
@ -37,8 +37,8 @@ module GitHub
|
|||
# track groups found
|
||||
found = Hash.new
|
||||
|
||||
# track DNs searched for (so we don't repeat searches)
|
||||
searched = []
|
||||
# track all DNs searched for (so we don't repeat searches)
|
||||
searched = Set.new
|
||||
|
||||
# if this is a posixGroup, return members immediately (no nesting)
|
||||
uids = member_uids(group)
|
||||
|
|
Загрузка…
Ссылка в новой задаче