Skip to content

Commit 5f9e4b3

Browse files
author
Vladimir
committed
[IMP] Have fixed all the tests
1 parent 329403f commit 5f9e4b3

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

odoo_backup_db_cli/protocols/ftp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from odoo_backup_db_cli.utils import CodeError
1111

1212

13-
class FtpBackupHandler(RemoteBackupHandler, FSBackupHandler): # noqa WPS214
13+
class FtpBackupHandler(RemoteBackupHandler, FSBackupHandler):
1414
"""FTP Backup Handler."""
1515

1616
def __init__(self, *args, **kwargs): # noqa: D107

odoo_backup_db_cli/protocols/local.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ def _save_filestore(self):
2929
os.rename(self.tmp_zip, filestore_path)
3030
return CodeError.SUCCESS
3131

32-
3332
def _delete_old_backups(self): # noqa: C901, WPS231
3433
for root, dirs, _ in os.walk(self.backup_location):
3534
for dir in dirs: # pragma: no cover - actually tested

0 commit comments

Comments
 (0)