mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-04-20 04:12:42 +00:00
rename variable
This commit is contained in:
parent
5a587d5560
commit
87740ddc14
@ -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']
|
||||
|
Loading…
x
Reference in New Issue
Block a user