diff options
| author | Dan Halbert <halbert@adafruit.com> | 2019-12-17 12:32:26 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-17 12:32:26 -0500 |
| commit | 8d4384814a4d15cea297eeb08126740d71e6d4d4 (patch) | |
| tree | 93124994dc61ef9f9150eb56b2b1b82933cb2c62 /tools/preprocess_frozen_modules.py | |
| parent | c8eee68fa03f9d453e35d2731086ac08101dd95b (diff) | |
| parent | 1719a14cf07866f3c86a4daac7f09124004d7eb9 (diff) | |
Merge pull request #2398 from jepler/excluded-mpy-subdirs-4.x
preprocess_frozen_modules: exclude subdirs of examples, docs, tests
Diffstat (limited to 'tools/preprocess_frozen_modules.py')
| -rwxr-xr-x | tools/preprocess_frozen_modules.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/preprocess_frozen_modules.py b/tools/preprocess_frozen_modules.py index bb6959f0d..e51f96bf9 100755 --- a/tools/preprocess_frozen_modules.py +++ b/tools/preprocess_frozen_modules.py @@ -34,6 +34,7 @@ def copy_and_process(in_dir, out_dir): # Skip library examples directories. if Path(root).name in ['examples', 'docs', 'tests']: + del subdirs[:] continue for file in files: |
