From aacb12b6924c32e6c51ff7832a6e2868efa189c4 Mon Sep 17 00:00:00 2001 From: Andre Anjos <andre.anjos@idiap.ch> Date: Thu, 1 Mar 2018 15:10:54 +0100 Subject: [PATCH] Ignore hidden files --- conda/clean-betas.py | 1 + 1 file changed, 1 insertion(+) diff --git a/conda/clean-betas.py b/conda/clean-betas.py index 66a1821..6b7e519 100755 --- a/conda/clean-betas.py +++ b/conda/clean-betas.py @@ -68,6 +68,7 @@ def main(scandir, dry_run): for (path, dirnames, filenames) in os.walk(sys.argv[1], followlinks=False): for f in filenames: + if f.startswith('.'): continue if f.startswith('repodata.json'): continue m = package_regex.match(f) if m is None: -- GitLab