Commit 567453a0 authored by Yingjie Xu's avatar Yingjie Xu Committed by Cédric de Saint Martin

Do nothing if binary cache if not well configured.

parent ed6eca0e
......@@ -97,6 +97,9 @@ class Software(object):
tar.close()
else:
self._install_from_buildout()
if (self.software_root and self.url and self.software_url_hash \
and self.upload_binary_cache_url \
and self.upload_binary_dir_url):
tar = tarfile.open(tarpath, "w:gz")
try:
tar.add(self.software_path, arcname=self.software_url_hash)
......
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