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 ffc289f commit 512a3dfCopy full SHA for 512a3df
importlib_metadata/__init__.py
@@ -536,14 +536,14 @@ def _read_files_egginfo_installed(self):
536
if not text or not subdir:
537
return
538
539
- ret = [
+ paths = (
540
(subdir / name)
541
.resolve()
542
.relative_to(self.locate_file('').resolve())
543
.as_posix()
544
for name in text.splitlines()
545
- ]
546
- return map('"{}"'.format, ret)
+ )
+ return map('"{}"'.format, paths)
547
548
def _read_files_egginfo_sources(self):
549
"""
0 commit comments