| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -274,6 +274,16 @@ def __init__(self, watcher, old_meta_path): | |||
| 274 | 274 | self.watcher = watcher | |
| 275 | 275 | self.old_meta_path = old_meta_path | |
| 276 | 276 | ||
| 277 | + def find_distributions(self, context): | ||
| 278 | + for finder in self.old_meta_path: | ||
| 279 | + distribution_finder = getattr(finder, 'find_distributions', None) | ||
| 280 | + if distribution_finder is not None: | ||
| 281 | + loader = finder.find_distributions(context) | ||
| 282 | + if loader is not None: | ||
| 283 | + return loader | ||
| 284 | + | ||
| 285 | + return None | ||
| 286 | + | ||
| 277 | 287 | def find_module(self, fullname, path=None): | |
| 278 | 288 | for finder in self.old_meta_path: | |
| 279 | 289 | loader = finder.find_module(fullname, path) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments