Commit 616ac6a4 authored by Łukasz Nowak's avatar Łukasz Nowak

Support buildout's download cache.

parent 6ad77e34
...@@ -161,7 +161,7 @@ class Script: ...@@ -161,7 +161,7 @@ class Script:
def download(self, url, md5sum): def download(self, url, md5sum):
download = zc.buildout.download.Download(self.buildout['buildout'], download = zc.buildout.download.Download(self.buildout['buildout'],
hash_name=True) hash_name=True, cache=self.buildout['buildout'].get('download-cache'))
path, is_temp = download(url, md5sum=self.options.get('md5sum')) path, is_temp = download(url, md5sum=self.options.get('md5sum'))
return path return path
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment