From a16f53af407ac95c76478761cd5a1180988d0207 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 10 Oct 2021 11:30:14 +0200 Subject: Improvements with pylint --- src/xbackup/backup.py | 2 -- src/xbackup/prune.py | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/xbackup/backup.py b/src/xbackup/backup.py index 8b7ee78..7744e42 100644 --- a/src/xbackup/backup.py +++ b/src/xbackup/backup.py @@ -10,8 +10,6 @@ This module contains the backup functionality of xbackup. import os -import sys -import subprocess from xbackup.utils import POSITIVE_ANSWERS,shell diff --git a/src/xbackup/prune.py b/src/xbackup/prune.py index 7b41b03..79216a3 100644 --- a/src/xbackup/prune.py +++ b/src/xbackup/prune.py @@ -9,7 +9,6 @@ This module contains the pruning functionality of xbackup. import os -import sys from xbackup.utils import POSITIVE_ANSWERS,shell @@ -45,6 +44,6 @@ def prune(backup_cfg, prune_cfg, scripted): answer = input(text) if answer not in POSITIVE_ANSWERS: return - + # execute pruning shell(cmd, panic=True) -- cgit v1.2.3-70-g09d2