Remove unused return value from `InstallRequirement.ensure_source_dir`

This commit is contained in:
Chris Hunt 2019-09-02 14:36:14 -04:00
parent d764181da3
commit bdd3781858
1 changed files with 1 additions and 2 deletions

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(