(fileobj, roots, ie_commands, fallback=None)
| 25 | |
| 26 | |
| 27 | def load_pattern_file(fileobj, roots, ie_commands, fallback=None): |
| 28 | if fallback is None: |
| 29 | fallback = ShellPattern # ShellPattern is defined later in this module |
| 30 | for line in clean_lines(fileobj): |
| 31 | fallback = parse_patternfile_line(line, roots, ie_commands, fallback) |
| 32 | |
| 33 | |
| 34 | def load_exclude_file(fileobj, patterns): |