fix(backup): pylint fixes

This commit is contained in:
Seaswimmer 2024-02-02 11:27:28 -05:00
parent fa3b353704
commit eb9d744a3f
Signed by untrusted user: cswimr
GPG key ID: B8953EC01E5C4063

View file

@ -17,6 +17,7 @@ from redbot.core.bot import Red
from redbot.core.utils.chat_formatting import error, text_to_file from redbot.core.utils.chat_formatting import error, text_to_file
# pylint: disable=protected-access
class Backup(commands.Cog): class Backup(commands.Cog):
"""A utility to make reinstalling repositories and cogs after migrating the bot far easier.""" """A utility to make reinstalling repositories and cogs after migrating the bot far easier."""
@ -46,9 +47,7 @@ class Backup(commands.Cog):
) )
return return
all_repos = list( all_repos = list(downloader._repo_manager.repos)
downloader._repo_manager.repos
) # pylint: disable=protected-access
export_data = [] export_data = []