File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -521,18 +521,17 @@ def _read_files_egginfo_installed(self):
521521 """
522522 Read installed-files.txt and return lines in a similar
523523 CSV-parsable format as RECORD: each file must be placed
524- relative to the site-packages directory, and must also be
524+ relative to the site-packages directory and must also be
525525 quoted (since file names can contain literal commas).
526526
527527 This file is written when the package is installed by pip,
528528 but it might not be written for other installation methods.
529- Hence, even if we can assume that this file is accurate
530- when it exists, we cannot assume that it always exists.
529+ Assume the file is accurate if it exists.
531530 """
532531 text = self .read_text ('installed-files.txt' )
533- # We need to prepend the .egg-info/ subdir to the lines in this file.
534- # But this subdir is only available in the PathDistribution's self._path
535- # which is not easily accessible from this base class.. .
532+ # Prepend the .egg-info/ subdir to the lines in this file.
533+ # But this subdir is only available from PathDistribution's
534+ # self._path .
536535 subdir = getattr (self , '_path' , None )
537536 if not text or not subdir :
538537 return
You can’t perform that action at this time.
0 commit comments