1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00

Merge pull request #6962 from chrahunt/refactor/remove-unused-return-value

Remove unused return value from `InstallRequirement.ensure_source_dir`
This commit is contained in:
Pradyun Gedam 2019-09-04 07:44:43 +05:30 committed by GitHub
commit fed119d233
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -749,7 +749,7 @@ class InstallRequirement(object):
# For both source distributions and editables
def ensure_has_source_dir(self, parent_dir):
# type: (str) -> str
# type: (str) -> None
"""Ensure that a source_dir is set.
This will create a temporary build dir if the name of the requirement
@ -761,7 +761,6 @@ class InstallRequirement(object):
"""
if self.source_dir is None:
self.source_dir = self.build_location(parent_dir)
return self.source_dir
# For editable installations
def install_editable(