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:
commit
fed119d233
1 changed files with 1 additions and 2 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue