Commit 9a21e01
committed
pyDKB/*/consumer: make
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.FileConsumer._filenames_form_dir() generator.1 parent 727f2a0 commit 9a21e01
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
114 | 115 | | |
115 | 116 | | |
116 | | - | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| |||
0 commit comments