(file_input: TextIO)
| 83 | |
| 84 | |
| 85 | def read_uris(file_input: TextIO) -> Iterable[str]: |
| 86 | for line in file_input: |
| 87 | line = line.strip() |
| 88 | if line.startswith("#") or not line: |
| 89 | continue |
| 90 | else: |
| 91 | if (not line.startswith("mirror://")) and mirror.LocalMirror.get_mirror_path(): |
| 92 | line = "mirror://" + line |
| 93 | |
| 94 | yield line |
nothing calls this directly
no test coverage detected