anaconda.py: delete useless variable

Since CONDA_CLOUD_REPOS defines channel and arch name, so delete useless arch variable
This commit is contained in:
Chenyang Yan 2018-01-20 22:43:55 +08:00
parent a448e09d0f
commit 858eb60cdc

View File

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