lint: Remove unused variable

This commit is contained in:
Cristian 2020-11-28 12:32:26 -05:00
parent fa5de72f9f
commit 10ee6db02f

View file

@ -478,9 +478,6 @@ def printable_filesize(num_bytes: Union[int, float]) -> str:
@enforce_types @enforce_types
def printable_folders(folders: Dict[str, Optional["Link"]], def printable_folders(folders: Dict[str, Optional["Link"]],
with_headers: bool=False) -> str: with_headers: bool=False) -> str:
links = folders.values()
return '\n'.join( return '\n'.join(
f'{folder} {link and link.url} "{link and link.title}"' f'{folder} {link and link.url} "{link and link.title}"'
for folder, link in folders.items() for folder, link in folders.items()