From 56b0cf7be2167332c3d5af281b522fcbd98d5c5e Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Fri, 21 Apr 2023 22:03:42 -0400 Subject: [PATCH] Rename 'line' to 'name' for better context. --- importlib_metadata/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/importlib_metadata/__init__.py b/importlib_metadata/__init__.py index 410e7a76..609b246e 100644 --- a/importlib_metadata/__init__.py +++ b/importlib_metadata/__init__.py @@ -538,11 +538,11 @@ def _read_files_egginfo_installed(self): return ret = [ - (subdir / line) + (subdir / name) .resolve() .relative_to(self.locate_file('').resolve()) .as_posix() - for line in text.splitlines() + for name in text.splitlines() ] return map('"{}"'.format, ret)