Commit a67730dd authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

make shacache related options optional.

parent 1e6a33f3
......@@ -906,10 +906,13 @@ class Installer:
and globals().get('_upload_dir_url'):
upload_network_cached(_upload_dir_url,
_upload_cache_url, dist.location, new_location, logger,
_signature_private_key_file,
_shacache_ca_file, _shacache_cert_file,
_shacache_key_file, _shadir_ca_file,
_shadir_cert_file, _shadir_key_file)
globals().get('_signature_private_key_file'),
globals().get('_shacache_ca_file'),
globals().get('_shacache_cert_file'),
globals().get('_shacache_key_file'),
globals().get('_shadir_ca_file'),
globals().get('_shadir_cert_file'),
globals().get('_shadir_key_file'))
if (download_cache
and (realpath(new_location) == realpath(dist.location))
......
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