We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11b9ddf commit 4119720Copy full SHA for 4119720
importlib_metadata/__init__.py
@@ -536,12 +536,12 @@ def _read_files_egginfo_installed(self):
536
subdir = getattr(self, '_path', None)
537
if not text or not subdir:
538
return
539
- with contextlib.suppress(Exception):
540
- ret = [
541
- str((subdir / line).resolve().relative_to(self.locate_file('')))
542
- for line in text.splitlines()
543
- ]
544
- return map('"{}"'.format, ret)
+
+ ret = [
+ str((subdir / line).resolve().relative_to(self.locate_file('').resolve()))
+ for line in text.splitlines()
+ ]
+ return map('"{}"'.format, ret)
545
546
def _read_files_egginfo_sources(self):
547
"""
0 commit comments