Skip to content

Commit

Permalink
Fix #925
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlatwe committed Aug 9, 2020
1 parent def201a commit fc72048
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/rezplugins/shell/_utils/powershell_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def gen_expected_regex(parts):
if match:
paths.extend(match.group(2).split(os.pathsep))

cls.syspaths = list(set([x for x in paths if x]))
cls.syspaths = [x for x in paths if x]

return cls.syspaths

Expand Down
2 changes: 1 addition & 1 deletion src/rezplugins/shell/cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def gen_expected_regex(parts):
if match:
paths.extend(match.group(2).split(os.pathsep))

cls.syspaths = set([x for x in paths if x])
cls.syspaths = [x for x in paths if x]
return cls.syspaths

def _bind_interactive_rez(self):
Expand Down

0 comments on commit fc72048

Please sign in to comment.