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:
parent
635d550cb3
commit
86138e6419
1 changed files with 2 additions and 4 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue