From 858eb60cdc027a24b25e6c4f51992df569570bf0 Mon Sep 17 00:00:00 2001 From: Chenyang Yan Date: Sat, 20 Jan 2018 22:43:55 +0800 Subject: [PATCH] anaconda.py: delete useless variable Since CONDA_CLOUD_REPOS defines channel and arch name, so delete useless arch variable --- anaconda.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anaconda.py b/anaconda.py index 1981755..3975061 100755 --- a/anaconda.py +++ b/anaconda.py @@ -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)