remove unused unpack arg from build_location

This commit is contained in:
Xavier Fernandez 2014-12-17 22:39:14 +01:00
parent 32e729f6f2
commit cc445dcfb8
2 changed files with 1 additions and 3 deletions

View File

@ -212,7 +212,7 @@ class InstallRequirement(object):
s += '->' + comes_from
return s
def build_location(self, build_dir, unpack=True):
def build_location(self, build_dir):
if self._temp_build_dir is not None:
return self._temp_build_dir
if self.req is None:

View File

@ -193,7 +193,6 @@ class RequirementSet(object):
elif install_needed:
req_to_install.source_dir = req_to_install.build_location(
self.build_dir,
not self.is_download,
)
if (req_to_install.source_dir is not None
@ -307,7 +306,6 @@ class RequirementSet(object):
# build directory
location = req_to_install.build_location(
self.build_dir,
not self.is_download,
)
unpack = True
url = None