From 87740ddc149c05c3b50a9004bc3117de36c7941f Mon Sep 17 00:00:00 2001 From: Yuxiang Zhang Date: Sun, 16 Jun 2019 20:18:43 +0800 Subject: [PATCH] rename variable --- anaconda.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/anaconda.py b/anaconda.py index e3105f6..9ed4bd9 100755 --- a/anaconda.py +++ b/anaconda.py @@ -41,7 +41,7 @@ CONDA_CLOUD_REPOS = ( "plotly/linux-64", "plotly/linux-32", "plotly/osx-64", "plotly/win-64", "plotly/win-32", "plotly/noarch", ) -CONDA_CLOUD_EXCLUDED_PACKAGES = ( +EXCLUDED_PACKAGES = ( "pytorch-nightly", "pytorch-nightly-cpu", "ignite-nightly", ) @@ -90,7 +90,7 @@ def sync_repo(repo_url: str, local_dir: Path, tmpdir: Path): packages = repodata['packages'] for filename, meta in packages.items(): - if meta['name'] in CONDA_CLOUD_EXCLUDED_PACKAGES: + if meta['name'] in EXCLUDED_PACKAGES: continue file_size, md5 = meta['size'], meta['md5']