From eb9d744a3fa41169ce3b522e25ff979ae9cf1240 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Fri, 2 Feb 2024 11:27:28 -0500 Subject: [PATCH] fix(backup): pylint fixes --- backup/backup.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/backup/backup.py b/backup/backup.py index 56580d6..60b5aa0 100644 --- a/backup/backup.py +++ b/backup/backup.py @@ -17,6 +17,7 @@ from redbot.core.bot import Red from redbot.core.utils.chat_formatting import error, text_to_file +# pylint: disable=protected-access class Backup(commands.Cog): """A utility to make reinstalling repositories and cogs after migrating the bot far easier.""" @@ -46,9 +47,7 @@ class Backup(commands.Cog): ) return - all_repos = list( - downloader._repo_manager.repos - ) # pylint: disable=protected-access + all_repos = list(downloader._repo_manager.repos) export_data = []