Skip to content

Commit

Permalink
Fix missing normalization import
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
  • Loading branch information
techalchemy committed Apr 10, 2020
1 parent d75cc6e commit 2eb3d5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipenv/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ def expand_egg_links(self):
prefixes = [
vistir.compat.Path(prefix)
for prefix in self.base_paths["libdirs"].split(os.pathsep)
if _normalized(prefix).startswith(_normalized(self.prefix.as_posix()))
if vistir.path.is_in_path(prefix, self.prefix.as_posix())
]
for loc in prefixes:
if not loc.exists():
Expand Down

0 comments on commit 2eb3d5b

Please sign in to comment.