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()
|
||||
if default_view_name in self.views:
|
||||
for var, subdirs in updates:
|
||||
paths = filter(lambda x: os.path.exists(x),
|
||||
list(os.path.join(self.default_view.root, x)
|
||||
for x in subdirs))
|
||||
for var, dirs in updates:
|
||||
paths = [os.path.join(self.default_view.root, x) for x in dirs]
|
||||
path_updates.append((var, paths))
|
||||
return path_updates
|
||||
|
||||
|
|
Loading…
Reference in a new issue