(path_pattern, recursive=None)
| 214 | |
| 215 | |
| 216 | def search_glob(path_pattern, recursive=None): |
| 217 | if sys.version_info >= (3, 5): |
| 218 | return glob.glob(path_pattern, recursive=recursive) |
| 219 | else: |
| 220 | if not recursive: |
| 221 | return glob.glob(path_pattern) |
| 222 | else: |
| 223 | return _pre_3_5_recursive_glob(path_pattern) |
| 224 | |
| 225 | |
| 226 | def _pre_3_5_recursive_glob(path_pattern, parent_path=None): |
nothing calls this directly
no test coverage detected