Skip to content

Commit 464f8b5

Browse files
committed
Remove redundant check for duplicate environments (it is not needed
since result is a set)
1 parent aac0dfc commit 464f8b5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

generate_configurations.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,6 @@ def generate_default_envs(envs):
165165

166166
def find_and_add(variations, env_getter):
167167
for variation in variations:
168-
for existing in result:
169-
if env_getter(existing) == variation:
170-
break
171-
172168
for env in reversed(envs):
173169
if env_getter(env) == variation:
174170
result.add(env)

0 commit comments

Comments
 (0)