78 # setting |
78 # setting |
79 # |
79 # |
80 envsToDelete = [] |
80 envsToDelete = [] |
81 for venvName in environments: |
81 for venvName in environments: |
82 environment = environments[venvName] |
82 environment = environments[venvName] |
83 if environment["variant"] == 2: |
|
84 # Python2 environment are not supported anymore, delete them |
|
85 envsToDelete.append(venvName) |
|
86 continue |
|
87 |
|
88 if ( |
83 if ( |
89 ("is_remote" in environment and environment["is_remote"]) or |
84 ("is_remote" in environment and environment["is_remote"]) or |
90 os.access(environment["interpreter"], os.X_OK) |
85 os.access(environment["interpreter"], os.X_OK) |
91 ): |
86 ): |
92 if "is_global" not in environment: |
87 if "is_global" not in environment: |