1
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-03-09 12:50:23 -05:00

formatting

This commit is contained in:
coletdjnz 2025-02-11 20:21:57 +13:00
parent 635d550cb3
commit 86138e6419
No known key found for this signature in database
GPG key ID: 91984263BB39894A

View file

@ -44,12 +44,12 @@
__all__ = [
'COMPAT_PACKAGE_NAME',
'PACKAGE_NAME',
'PluginSpec',
'clear_plugins',
'directories',
'load_all_plugins',
'load_plugins',
'register_plugin_spec',
'PluginSpec',
]
@ -128,9 +128,7 @@ def __init__(self, *packages):
self.packages = set(
itertools.chain.from_iterable(
itertools.accumulate(name.split('.'), lambda a, b: '.'.join((a, b)))
for name in packages
),
)
for name in packages))
def search_locations(self, fullname):
candidate_locations = itertools.chain.from_iterable(