diff options
author | xengineering <me@xengineering.eu> | 2021-10-10 11:30:14 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2021-10-10 11:30:14 +0200 |
commit | a16f53af407ac95c76478761cd5a1180988d0207 (patch) | |
tree | 1cd934c84bd3b58a472252c24aea71e954e9e21a | |
parent | 025831b90387a96d622fd92af08984ab1c27b7cd (diff) | |
download | xbackup-a16f53af407ac95c76478761cd5a1180988d0207.tar xbackup-a16f53af407ac95c76478761cd5a1180988d0207.tar.zst xbackup-a16f53af407ac95c76478761cd5a1180988d0207.zip |
Improvements with pylint
-rw-r--r-- | src/xbackup/backup.py | 2 | ||||
-rw-r--r-- | src/xbackup/prune.py | 3 |
2 files changed, 1 insertions, 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) |