From cdfc145ecea8ebca1d6bb1c3f2228815c48e4b38 Mon Sep 17 00:00:00 2001 From: Amir MOHAMMADI <amir.mohammadi@idiap.ch> Date: Mon, 5 Mar 2018 11:09:36 +0100 Subject: [PATCH] use parameter scandir instead sys.argv[1] --- conda/clean-betas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conda/clean-betas.py b/conda/clean-betas.py index 7e9c016..799834d 100755 --- a/conda/clean-betas.py +++ b/conda/clean-betas.py @@ -11,7 +11,7 @@ def main(scandir, dry_run): betas = dict() - for (path, dirnames, filenames) in os.walk(sys.argv[1], followlinks=False): + for (path, dirnames, filenames) in os.walk(scandir, followlinks=False): for f in filenames: if f.startswith('.'): continue -- GitLab