We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 329403f commit 5f9e4b3Copy full SHA for 5f9e4b3
odoo_backup_db_cli/protocols/ftp.py
@@ -10,7 +10,7 @@
10
from odoo_backup_db_cli.utils import CodeError
11
12
13
-class FtpBackupHandler(RemoteBackupHandler, FSBackupHandler): # noqa WPS214
+class FtpBackupHandler(RemoteBackupHandler, FSBackupHandler):
14
"""FTP Backup Handler."""
15
16
def __init__(self, *args, **kwargs): # noqa: D107
odoo_backup_db_cli/protocols/local.py
@@ -29,7 +29,6 @@ def _save_filestore(self):
29
os.rename(self.tmp_zip, filestore_path)
30
return CodeError.SUCCESS
31
32
-
33
def _delete_old_backups(self): # noqa: C901, WPS231
34
for root, dirs, _ in os.walk(self.backup_location):
35
for dir in dirs: # pragma: no cover - actually tested
0 commit comments