Skip to content

Commit e17144b

Browse files
committed
Fix missing normalization import
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
1 parent 8631694 commit e17144b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pipenv/environment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ def expand_egg_links(self):
476476
prefixes = [
477477
vistir.compat.Path(prefix)
478478
for prefix in self.base_paths["libdirs"].split(os.pathsep)
479-
if _normalized(prefix).startswith(_normalized(self.prefix.as_posix()))
479+
if vistir.path.is_in_path(prefix, self.prefix.as_posix())
480480
]
481481
for loc in prefixes:
482482
if not loc.exists():

0 commit comments

Comments
 (0)