mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-04-20 04:12:42 +00:00
anaconda.py: delete useless variable
Since CONDA_CLOUD_REPOS defines channel and arch name, so delete useless arch variable
This commit is contained in:
parent
a448e09d0f
commit
858eb60cdc
@ -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)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user