Fixed little bug

Missed a function call in a69f4d3fd91958e2fdbc94e661bae10ba1d7f139.
This commit is contained in:
Sybren A. Stüvel 2019-05-21 10:19:34 +02:00
parent 58f374e175
commit 3789742cc8

View File

@ -77,7 +77,7 @@ class Manager(List, Find):
assert isinstance(some_path, pathlib.PurePath), \ assert isinstance(some_path, pathlib.PurePath), \
'some_path should be a PurePath, not %r' % some_path 'some_path should be a PurePath, not %r' % some_path
for varname, path in replacements: for varname, path in self._path_replacements():
replacement = self.PurePlatformPath(path) replacement = self.PurePlatformPath(path)
try: try:
relpath = some_path.relative_to(replacement) relpath = some_path.relative_to(replacement)