File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -665,11 +665,11 @@ def ensure_pristine_source_checkout(self) -> None:
665
665
# version inconsistencies are logged later, but do not fail
666
666
# the installation.
667
667
raise PreviousBuildDirError (
668
- "pip can't proceed with requirements '{}' due to a "
669
- "pre-existing build directory ({}). This is likely "
668
+ f "pip can't proceed with requirements '{ self } ' due to a "
669
+ f "pre-existing build directory ({ self . source_dir } ). This is likely "
670
670
"due to a previous installation that failed . pip is "
671
671
"being responsible and not assuming it can delete this. "
672
- "Please delete it and try again." . format ( self , self . source_dir )
672
+ "Please delete it and try again."
673
673
)
674
674
675
675
# For editable installations
You can’t perform that action at this time.
0 commit comments