Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pyDKB/*/consumer: make
FileConsumer._filenames_form_dir()
generator.
Not a big deal, but most of FileConsumer methods, related to input files, are generators -- so why not. Now instead of checking all files in the directory and creating a list of those with proper extension, it yields first file name that fits requirements, and checks next file only when asked about it.
- Loading branch information