Commit cbd3f7791f09508090f20c8ae59c9c33c8688eec
1 parent
1e024147
in xglob, if found error, do not try to continue with that file
Showing
1 changed file
with
1 additions
and
0 deletions
oletools/thirdparty/xglob/xglob.py
| ... | ... | @@ -145,6 +145,7 @@ def iter_files(files, recursive=False, zip_password=None, zip_fname='*'): |
| 145 | 145 | for filespec in files: |
| 146 | 146 | if not is_glob(filespec) and not os.path.exists(filespec): |
| 147 | 147 | yield None, filespec, PathNotFoundException(filespec) |
| 148 | + continue | |
| 148 | 149 | for filename in iglob(filespec): |
| 149 | 150 | if zip_password is not None: |
| 150 | 151 | # Each file is expected to be a zip archive: | ... | ... |