diff options
author | Seth R. Johnson <johnsonsr@ornl.gov> | 2019-08-23 00:42:17 -0400 |
---|---|---|
committer | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2019-08-23 06:42:17 +0200 |
commit | c86006e9485993985a7dd0a72f9b49491c48c046 (patch) | |
tree | dfcd7382b5f2cc8e3ebbce3e475306d6317353a8 /share | |
parent | a707c5bd2b5dd0380fe8546b4f67ca993f520b4a (diff) | |
download | spack-c86006e9485993985a7dd0a72f9b49491c48c046.tar.gz spack-c86006e9485993985a7dd0a72f9b49491c48c046.tar.bz2 spack-c86006e9485993985a7dd0a72f9b49491c48c046.tar.xz spack-c86006e9485993985a7dd0a72f9b49491c48c046.zip |
Skip invisible non-packages in package directory. (#12467)
Having a non-directory invisible file causes `spack find` to die. This
fixes the logic to ignore invalid module names but only warn if they're
visible.
```
NotADirectoryError: [Errno 20] Not a directory: '/spack/var/spack/repos/builtin/packages/.DS_Store/package.py'
```
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions