make env view loading unconditional (#12719)
This commit is contained in:
parent
34647913be
commit
3f1c78128e
1 changed files with 2 additions and 4 deletions
|
@ -955,10 +955,8 @@ def _shell_vars(self):
|
||||||
|
|
||||||
path_updates = list()
|
path_updates = list()
|
||||||
if default_view_name in self.views:
|
if default_view_name in self.views:
|
||||||
for var, subdirs in updates:
|
for var, dirs in updates:
|
||||||
paths = filter(lambda x: os.path.exists(x),
|
paths = [os.path.join(self.default_view.root, x) for x in dirs]
|
||||||
list(os.path.join(self.default_view.root, x)
|
|
||||||
for x in subdirs))
|
|
||||||
path_updates.append((var, paths))
|
path_updates.append((var, paths))
|
||||||
return path_updates
|
return path_updates
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue