fix(backup): pylint fixes
This commit is contained in:
parent
fa3b353704
commit
eb9d744a3f
1 changed files with 2 additions and 3 deletions
|
@ -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 = []
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue