Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Commit

Permalink
Remove redundant check for duplicate environments (it is not needed
Browse files Browse the repository at this point in the history
since result is a set)
  • Loading branch information
pelme authored and mfa committed May 17, 2017
1 parent c7d4b50 commit 8261ef0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions generate_configurations.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,6 @@ def generate_default_envs(envs):

def find_and_add(variations, env_getter):
for variation in variations:
for existing in result:
if env_getter(existing) == variation:
break

for env in reversed(envs):
if env_getter(env) == variation:
result.add(env)
Expand Down

0 comments on commit 8261ef0

Please sign in to comment.