anaconda.py: delete unuseful varialble

Since CONDA_CLOUD_REPOS defines channel and arch name, so delete unuseful arch variable
This commit is contained in:
Chenyang Yan 2018-01-18 14:21:33 +08:00
parent a448e09d0f
commit 0af23ce12f

View File

@ -185,7 +185,7 @@ def main():
try:
sync_repo(remote_url, local_dir, Path(tmpdir))
except Exception:
logging.exception("Failed to sync repo: {}/{}".format(repo, arch))
logging.exception("Failed to sync repo: {}".format(repo))
finally:
shutil.rmtree(tmpdir)